Allow to modify unit_price_updated on closed period
issue11739 review418141003
This commit is contained in:
@@ -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 += [
|
||||
|
||||
Reference in New Issue
Block a user