Allow to modify state of move done and cancelled

issue11921
review413981004
This commit is contained in:
Cédric Krier
2022-12-10 00:46:47 +01:00
parent d36992057c
commit f859e16a9a
+1 -1
View File
@@ -312,7 +312,7 @@ class Move(Workflow, ModelSQL, ModelView):
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'}