summaryrefslogtreecommitdiff
path: root/odoo/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/models.py')
-rw-r--r--odoo/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/odoo/models.py b/odoo/models.py
index 35b13469b1c..0f8f9cc7050 100644
--- a/odoo/models.py
+++ b/odoo/models.py
@@ -5114,6 +5114,8 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
"""
result = {}
for name, subnames in tree.items():
+ if name == 'id':
+ continue
if old and old[name] == new[name]:
continue
field = record._fields[name]