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


Commits:
13d2870d by Cédric Krier at 2023-12-15T18:09:30+01:00
Use empty value Function xxx2Many fields without initial value

Since d142b33fa3ab the on_change_with relies on _changed_value. But for
Function xxx2Many fields if their value is not in the initial value, we should
not retrieve it from the database because the result will be the same as the
one set by on_change_with.

Closes #12836
- - - - -


3 changed files:

- trytond/trytond/model/modelview.py
- trytond/trytond/tests/modelview.py
- trytond/trytond/tests/test_modelview.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/13d2870d43c833a8629b451edd82ac2efdc27009

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


Reply via email to