changeset 2806d169674d in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=2806d169674d
description:
Allow to modify state of move done and cancelled
issue11921
review413981004
diffstat:
move.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d10733408252 -r 2806d169674d move.py
--- a/move.py Thu Nov 24 19:22:28 2022 +0100
+++ b/move.py Sat Dec 10 00:46:47 2022 +0100
@@ -312,7 +312,7 @@
cls._deny_modify_assigned = set(['product', 'uom', 'quantity',
'from_location', 'to_location', 'company'])
cls._deny_modify_done_cancel = (cls._deny_modify_assigned
- | set(['planned_date', 'effective_date', 'state']))
+ | set(['planned_date', 'effective_date']))
cls._allow_modify_closed_period = {
'cost_price', 'unit_price', 'unit_price_updated', 'currency'}