From c622adbff3c86e14fa3d22eb4917ef0e4085bc9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Antonio=20D=C3=ADaz?= Date: Thu, 29 Sep 2022 23:42:06 +0200 Subject: [PATCH] Allow to modify unit_price_updated on closed period issue11739 review418141003 --- move.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/move.py b/move.py index 7f1152774b..8ca81b64ba 100644 --- a/move.py +++ b/move.py @@ -308,7 +308,8 @@ class Move(Workflow, ModelSQL, ModelView): '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 += [