diff options
| author | Antoine Vandevenne (anv) <anv@odoo.com> | 2019-09-24 10:20:58 +0000 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2019-09-30 07:23:03 +0000 |
| commit | 5350c6576a48c81af5ebd1d3c274871a2b45879a (patch) | |
| tree | d0879be0805d68d281e4a0ebf96a388b6871b599 /odoo/sql_db.py | |
| parent | ea11adf9826c3736d06a25130a264964e3d54bfb (diff) | |
[FIX] base_automation: prevent automations from triggering on new records
Before this commit, automations triggering on new records caused onchanges to break out-of-context record rules, hence preventing to create the record.
This commit filters out new records from the list of records matched by the domain of an automation.
task-1998636
closes odoo/odoo#37360
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Co-authored-by: Raphaƫl Collet <rco@odoo.com>
Diffstat (limited to 'odoo/sql_db.py')
0 files changed, 0 insertions, 0 deletions
