Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
4820f122 by Cédric Krier at 2023-04-06T20:36:25+02:00
Update model data also when old values are different from the current values

Closes #12190
- - - - -


1 changed file:

- trytond/trytond/convert.py


Changes:

=====================================
trytond/trytond/convert.py
=====================================
@@ -768,7 +768,7 @@
             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,



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/4820f12259f64a26ada02af640231459fb6ab820

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/4820f12259f64a26ada02af640231459fb6ab820
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to