Compute client-side domains on x2many fields correctly
by Therp BV , Odoo Community Association (OCA)
Odoo
Availability |
Odoo Online
Odoo.sh
On Premise
|
Technical Name |
web_compute_domain_x2many |
License | AGPL-3 |
Repository | lp:web-addons/7.0 |
When using attrs="...", evaluation of x2many fields nearly always goes wrong in ways not to be expected when being used to server side domains in Model.search().
This addon fixes those cases while keeping backwards compatibility for cases where you might have checks in a somewhat hacky way, ie. attrs="{'invisible': [('category_id', '=', [[6, False, []]])]}".
Please log in to comment on this module