Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 1b815539 by Cédric Krier at 2024-12-05T16:25:16+01:00 Include the depends of the getter function when depending on a Function field Since c47b3642f1a6, the getter of a Function field may be called if there is no value set for it on the instance. In the on_change context, this may set the missing fields to None if they were not defined in the depends of the method called. In addition to compute a wrong value, those fields are then returned as modified. Closes #13735 - - - - - ebd69871 by Cédric Krier at 2024-12-05T16:29:42+01:00 Remove unused docstring in Model definition testing field depends docstrings are no more used since 23ce421d3bb9 - - - - - 2 changed files: - trytond/trytond/model/modelview.py - trytond/trytond/tests/test_field_depends.py View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/cc277611c25463b6506312f3987e3427291506fe...ebd698718ca7e08da9ed9cf42686f3588bc3ae12 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/cc277611c25463b6506312f3987e3427291506fe...ebd698718ca7e08da9ed9cf42686f3588bc3ae12 You're receiving this email because of your account on foss.heptapod.net.
