summaryrefslogtreecommitdiff
path: root/odoo/models.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-07-26 19:16:14 +0200
committerChristophe Simonis <chs@odoo.com>2018-07-26 19:16:14 +0200
commite1585c1a75184482da0bbebfa0e6df800299cf94 (patch)
tree52b88636aa16174cc4fef3fbae3ec893b47ab753 /odoo/models.py
parentf4cb239fa83fa48c5a4343b9206e78fe8d76c000 (diff)
parentadc97120c94e3a0e8325a40fb0664faa16036f74 (diff)
[MERGE] forward port branch 11.0 up to adc97120c94
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]