Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 0ddfb45c by Cédric Krier at 2023-06-05T15:18:11+02:00 Use boolean value when enforcing value to edit delivery date of purchase line The clients always convert Boolean field values into boolean so the domain validation against None value is always failing. Closes #12306 - - - - - 1 changed file: - modules/purchase/purchase.py Changes: ===================================== modules/purchase/purchase.py ===================================== @@ -1216,7 +1216,7 @@ "Edit Delivery Date", domain=[ If(Eval('type') != 'line', - ('delivery_date_edit', '=', None), + ('delivery_date_edit', '=', False), ()), ], states={ View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/0ddfb45cd49e8fbfc4550df20130c160c8c3e05b -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/0ddfb45cd49e8fbfc4550df20130c160c8c3e05b You're receiving this email because of your account on foss.heptapod.net.