Compute client-side domains on x2many fields correctly
web_compute_domain_x2many · OCA/web
-
Security25/25No findings
-
Activity0/25Last human commit 124 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
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, []]])]}".
Dependencies
- Odoo dependencies
-
odoo/odoo:- web
- Python dependencies
- None
- System dependencies
- None
- Required by
- partner_relations_in_tab
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.