Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 341 |
Technical Name |
one2many_grouped_tree |
License | OPL-1 |
Website | https://github.com/hoangphamw |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 341 |
Technical Name |
one2many_grouped_tree |
License | OPL-1 |
Website | https://github.com/hoangphamw |
One2Many Grouped Tree View
Enhance your Odoo form views with powerful grouping functionality
🚀 Transform your one2many fields! This module adds advanced grouping capabilities to one2many tree widgets in Odoo form views, allowing you to organize and manage your data more efficiently.
📊 Smart Grouping
- Group by any field in your one2many tree
- Support for all field types (char, text, many2one, selection, date, datetime)
- Automatic group detection and creation
- Record count indicators for each group
🎛️ Interactive Controls
- Collapse/expand groups with single click
- Dynamic group by field selection
- Clear grouping functionality
- Responsive design for all devices
🎨 Beautiful Interface
- Modern, clean design
- Dark mode support
- Smooth animations and transitions
- Consistent with Odoo's UI guidelines
⚡ Performance Optimized
- Lightweight JavaScript implementation
- Efficient DOM manipulation
- Minimal impact on page load time
- Works with large datasets
📸 Screenshot
Grouped tree view in action - organizing contacts by function

🛠️ Installation & Usage
Installation:
- Download and place the module in your addons directory
- Update the addon list in Odoo
- Install "One2Many Grouped Tree View"
Basic Usage:
<field name="your_one2many_field" widget="one2many"
context="{'group_by_field': 'field_to_group_by'}"
options="{'create': true, 'edit': true, 'default_collapsed': True}">
<tree>
<field name="field1"/>
<field name="field2"/>
<field name="field_to_group_by"/>
</tree>
</field>
🦊
Odoo 16.0
Fully Compatible
🌐
All Browsers
Chrome, Firefox, Safari, Edge
💡 Demo Available
Try out the functionality with our built-in demo:
- Menu: Contacts > Demo Grouped Tree
- Model: res.partner
- Field: child_ids (one2many field)
- Grouping: By "function" field
🎯 Perfect For
Sales teams organizing leads, HR departments managing employees, project managers tracking tasks, and any business process that requires efficient data organization in Odoo form views.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module