summaryrefslogtreecommitdiff
path: root/odoo/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/models.py')
-rw-r--r--odoo/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/odoo/models.py b/odoo/models.py
index dd6d577d260..a96e7d88dab 100644
--- a/odoo/models.py
+++ b/odoo/models.py
@@ -5631,6 +5631,9 @@ Fields:
if name not in done and snapshot0.has_changed(name)
]
+ if not env.context.get('recursive_onchanges', True):
+ todo = []
+
# make the snapshot with the final values of record
snapshot1 = Snapshot(record, nametree)