Allow to modify unit_price_updated on closed period

issue11739
review418141003
(grafted from 449fb2bdb0c00f1302f94af1cbf079f71d182da0)

--HG--
branch : 6.0
This commit is contained in:
José Antonio Díaz committed 2022-09-29 23:42:06 +02:00
1 parent e1c028f151
commit 69971a53ae
1 file changed
+2 -1
+2 -1
View File
@@ -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 += [