From 4abe4478396c258ee31bfca43be7055de0b66cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 6 Apr 2023 20:36:25 +0200 Subject: [PATCH] Update model data also when old values are different from the current values Closes #12190 (grafted from 4820f12259f64a26ada02af640231459fb6ab820) --HG-- branch : 6.0 --- trytond/trytond/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/trytond/convert.py b/trytond/trytond/convert.py index 4d6a29f9ac..0fe087fe38 100644 --- a/trytond/trytond/convert.py +++ b/trytond/trytond/convert.py @@ -762,7 +762,7 @@ class TrytondXmlHandler(sax.handler.ContentHandler): fs_values = old_values.copy() fs_values.update(new_values) - if values != fs_values: + if old_values != values or values != fs_values: self.grouped_model_data.extend(([self.ModelData(mdata_id)], { 'fs_id': fs_id, 'model': model,