From f859e16a9a3d629c593bce73b7b0ce6dd68d748e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Dec 2022 00:46:47 +0100 Subject: [PATCH] Allow to modify state of move done and cancelled issue11921 review413981004 --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index d3752d3640..c5df81eca7 100644 --- a/move.py +++ b/move.py @@ -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'}