| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 245 |
| Technical Name |
zbye_toggle_widget |
| License | LGPL-3 |
| Website | https://zbye.odoo.com/ |
| Versions | 17.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 245 |
| Technical Name |
zbye_toggle_widget |
| License | LGPL-3 |
| Website | https://zbye.odoo.com/ |
| Versions | 17.0 18.0 |
ZbyE Toggle Widget
Add foldable visual grouping to Odoo one2many list views while preserving standard Odoo functionality including create, edit, delete, onchange, save, discard, readonly rules, widgets, domains, and buttons.
Overview
ZbyE Toggle Widget enhances standard Odoo one2many list views by adding foldable visual groups while maintaining the native Odoo editing experience.
Users can easily navigate large one2many datasets by configuring a visual group field inside the embedded list.
Features
Default Odoo BehaviorKeep existing fields, widgets, domains, buttons, add line, delete line, onchange logic, Save and Discard. |
Foldable One2many GroupsExpand or collapse grouped records directly inside the one2many list. |
Nested PathsSupport hierarchical values such as All / Expenses / Travel. |
One2many Configuration Example
The following example groups purchase order lines using product category paths.
<xpath expr="//field[@name='order_line']" position="attributes">
<attribute name="widget">zbye_grouped_one2many</attribute>
</xpath>
<xpath expr="//field[@name='order_line']/list" position="attributes">
<attribute name="zbye_group_by">
zbye_product_categ_path
</attribute>
</xpath>
<xpath expr="//field[@name='order_line']/list/field[@name='display_type']" position="before">
<field name="zbye_product_categ_path"
column_invisible="1"/>
</xpath>
Preview
Benefits
- Improves readability for large one2many datasets.
- Reduces scrolling and navigation time.
- Maintains full compatibility with existing Odoo views.
- No replacement of native list behavior.
- Simple and lightweight implementation.
Support & Contact
|
Website https://zbye.odoo.com |
Email zbye.info@gmail.com |
|
Telegram @ZbyESolution |
Facebook facebook.com/zbyesolution |
Practical Odoo Apps, Customization, Integration, and Business Solutions.
Please log in to comment on this module