diff --git a/issue8637.diff b/issue8637.diff new file mode 100644 index 0000000..a768233 --- /dev/null +++ b/issue8637.diff @@ -0,0 +1,14 @@ +diff -r a7d5fe2a362d trytond/model/modelview.py +--- a/trytond/trytond/model/modelview.py Tue Sep 03 10:14:28 2019 +0200 ++++ b/trytond/trytond/model/modelview.py Tue Sep 03 10:17:13 2019 +0200 +@@ -765,7 +765,9 @@ + if field._type in ('many2one', 'one2one', 'reference'): + if value: + if isinstance(value, ModelStorage): +- changed['%s.rec_name' % fname] = value.rec_name ++ changed['%s.' % fname] = { ++ 'rec_name': value.rec_name, ++ } + if value.id is None: + # Don't consider temporary instance as a change + continue diff --git a/series b/series index 8ebd272..ff11e1d 100644 --- a/series +++ b/series @@ -46,6 +46,8 @@ issue8369.diff # [trytond] Sort keys of PYSON XML value issue8375.diff # [trytond] n_sign_posn and p_sign_posn are considered as string by trytond.convert +issue8637.diff # [trytond] Use new related API for _changed_values + # Sao issue8240.diff # Add drag and drop support to sao