filtered_from_domain

by
Odoo
v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 360
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 107
Technical Name smile_filtered_from_domain
LicenseAGPL-3
Websitehttp://www.smile.fr
Versions 10.0 11.0 15.0 8.0 16.0 9.0 13.0 14.0 12.0
You bought this module and need support? Click here!

Filtered From Domain

License: AGPL-3 Smile-SA/odoo_addons

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.

Smile SA

This module is part of the odoo-addons project on GitHub.

You are welcome to contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.