TIP: You can type at any time to perform a new search.
Compute client-side domains on x2many fields correctly
web_compute_domain_x2many · OCA/web
- Repository
- OCA/web · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Dependency
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 06:56:10
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Alexandre Fayolle, Holger Brunn, Stéphane Bidoul (ACSONE), OCA Transbot
- Odoo dependencies
-
odoo/odoo:- web
- Python dependencies
- None
- System dependencies
- None
- Required by
- partner_relations_in_tab
- 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, []]])]}"``.
Code Analysis ⓘ
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.