changeset 86bbfaea7a8c in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=86bbfaea7a8c
description:
Update unit price after invoice posted and move done
issue9962
review292991002
diffstat:
move.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r dd9f4252f168 -r 86bbfaea7a8c move.py
--- a/move.py Thu Jan 21 22:19:17 2021 +0100
+++ b/move.py Wed Feb 03 21:21:03 2021 +0100
@@ -308,7 +308,7 @@
'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'}
+ cls._allow_modify_closed_period = {'cost_price', 'unit_price'}
t = cls.__table__()
cls._sql_constraints += [