$ 6.97
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 59 |
| Technical Name |
wr_tree_expand_collapse |
| License | LGPL-3 |
| Website | https://www.webrulersinfotech.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 59 |
| Technical Name |
wr_tree_expand_collapse |
| License | LGPL-3 |
| Website | https://www.webrulersinfotech.com |
Tree View Expand/Collapse All Groups for Odoo 18
Expand or collapse all grouped rows in any List View with a single click.
Introduction
Tree View Expand/Collapse All Groups adds a smart toggle button directly in the control panel whenever a List View has an active Group By. One click expands every group - including nested sub-groups - so you can see all records at once. Click again and everything collapses back. No configuration required; it works automatically across every List View in every Odoo application.
Key Features
- Single toggle button - one icon button switches between Expand All and Collapse All based on the current state.
- Recursive multi-level expand - expands parent groups first, then automatically expands all nested sub-groups, no matter how deep.
- Parallel processing - all groups at the same level are toggled simultaneously for instant response even with many groups.
- Smart visibility - the button appears only when a Group By is active and hides itself automatically when grouping is removed.
- Dynamic icon & tooltip - shows Expand All Groups when collapsed, switches to Collapse All Groups when everything is open.
- Loading indicator - a spinner appears on the button while the action is in progress, preventing duplicate clicks.
- Works across all apps - Sales, Purchase, Inventory, Accounting, CRM, HR, and any custom module with a grouped List View.
- Zero configuration - install and use immediately; no settings, no models, no access rights needed.
- No extra dependencies - relies only on Odoo's
webmodule.
How to Use
- Open any List View (e.g. Sales â Orders â Quotations, Inventory â Products, Accounting â Invoices).
- Apply a Group By from the search bar - single or multiple levels.
- A toggle icon button () appears in the control panel next to the action buttons.
- Click it to expand all groups at every level instantly.
- The icon switches to . Click again to collapse all groups.
- Remove the Group By filter and the button disappears automatically.
Benefits
- Saves time when reviewing large grouped datasets - no more clicking every header one by one.
- Works with multi-level Group By (e.g. Customer â Company â Salesperson) and expands all levels in one click.
- Consistent experience across all Odoo apps with no per-app setup.
- Lightweight - zero performance overhead when no Group By is active.
- Clean, native-looking UI that matches Odoo's design language.
Other Services
-
At WebRulers, we pride ourselves on offering a wide range of services to our clients. In addition to our core offerings, we are also experts in the following areas:
- Django, Flask and FastAPI Web/API Development: Our team is highly skilled in using these frameworks to create efficient and robust web applications that meet the unique needs of our clients.
- Android Mobile Application Development: We have extensive experience in developing high-performance mobile applications for the Android platform. Our apps are designed to provide a seamless user experience and meet the specific needs of our clients.
We are always looking for new and exciting challenges, and we are confident that our expertise in these areas will allow us to deliver outstanding results for our clients. If you have any project or requirement related to any of these services, please feel free to contact us to discuss further.
Contact us for Support / Query / Customization
Website:
- https://www.webrulersinfotech.com
Please log in to comment on this module