Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Automation Rules

Entity: base.automation

Compute Method: _compute_on_change_field_ids

View 19.0 View 20.0
Inputs Method Outputs
to_reset = self.filtered(lambda a: a.trigger != 'on_change')
to_reset.on_change_field_ids = False
- for automation in (self - to_reset):
-             automation._onchange_domain()

Back to entity