Always update ir.model.data if the filesystem value is different
We must compare against the filesystem value instead of the old value because it is the actual target. issue8353 review261471002
This commit is contained in:
1 parent
155043fb72
commit
867b7e14e7
1 file changed
+1
-1
+1
-1
@@ -764,7 +764,7 @@ class TrytondXmlHandler(sax.handler.ContentHandler):
|
||||
fs_values = old_values.copy()
|
||||
fs_values.update(new_values)
|
||||
|
||||
if values != old_values:
|
||||
if values != fs_values:
|
||||
self.grouped_model_data.extend(([self.ModelData(mdata_id)], {
|
||||
'fs_id': fs_id,
|
||||
'model': model,
|
||||
|
||||
Reference in new issue
Block a user