changeset 449fb2bdb0c0 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=449fb2bdb0c0
description:
Allow to modify unit_price_updated on closed period
issue11739
review418141003
diffstat:
move.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 31463a48b01b -r 449fb2bdb0c0 move.py
--- a/move.py Thu Sep 29 18:20:08 2022 +0200
+++ b/move.py Thu Sep 29 23:42:06 2022 +0200
@@ -308,7 +308,8 @@
'from_location', 'to_location', 'company', 'currency'])
cls._deny_modify_done_cancel = (cls._deny_modify_assigned
| set(['planned_date', 'effective_date', 'state']))
- cls._allow_modify_closed_period = {'cost_price', 'unit_price'}
+ cls._allow_modify_closed_period = {
+ 'cost_price', 'unit_price', 'unit_price_updated'}
t = cls.__table__()
cls._sql_constraints += [