From 867b7e14e719fe24dec6bf69f6919875decfc38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 22 May 2019 18:29:04 +0200 Subject: [PATCH] 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 --- trytond/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/convert.py b/trytond/convert.py index b6df78c64a..eb135eaa9b 100644 --- a/trytond/convert.py +++ b/trytond/convert.py @@ -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,