Availability |
Odoo Online
Odoo.sh
On Premise
|
Technical Name |
rlk_x2many_list |
License | LGPL-3 |
Website | https://ryanlinnok.github.io |
Versions | 10.0 11.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Technical Name |
rlk_x2many_list |
License | LGPL-3 |
Website | https://ryanlinnok.github.io |
Versions | 10.0 11.0 |
Introduction
This module, **X2ManyList**, is designed to remove or hide the "Add an Item" button and trash icon in x2Many fields when the status is not in draft, allowing other columns to remain editable.
Key Features
The module modifies the behavior of x2Many fields by:
- Removing or hiding the "Add an Item" button when the record is not in draft status.
- Disabling the trash icon for deleting rows in the same condition.
- Ensuring other fields in the x2Many table remain editable.

Configuration
To use this module, simply install it and apply it to views where x2Many fields are present. The system will automatically hide the "Add an Item" button and trash icon when the record is not in draft status.

Customization
Developers can further customize the module to adapt to specific workflows by modifying the included XML and QWeb files:
- **backend_view.xml** - Adjusts the behavior of the backend interface.
- **web_base.xml** - Updates the QWeb templates for the x2Many fields.
Please log in to comment on this module