From 69971a53aee2cf547d8f641f00fafc2661526fcb 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 (grafted from 449fb2bdb0c00f1302f94af1cbf079f71d182da0) --HG-- branch : 6.0 --- move.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/move.py b/move.py index 0ff1c87ec9..391c11094d 100644 --- a/move.py +++ b/move.py @@ -320,7 +320,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 += [