Filtered From Domain
This module allows to filter records from a search domain.
Example with filtered_from_domain:
records.filtered_from_domain([ ('state', '=', 'draft'), ('line_ids.product_id.name', '=', 'My product'), ])
Example with filtered:
records.filtered(lambda r: r.state == 'draft' and line_ids.product_id.name == 'My product')
Table of contents
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Smile SA
Contributors
- Corentin Pouhet-Brunerie
Maintainers
This module is maintained by the Smile SA.
Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.
This module is part of the odoo-addons project on GitHub.
You are welcome to contribute.
Please log in to comment on this module