Allow to update production cost price updated of stock move in a closed period
The update of a production cost can happen when the input moves are in a closed period. Closes #13944
This commit is contained in:
@@ -89,6 +89,7 @@ class Move(metaclass=PoolMeta):
|
||||
| (t.production_output == Null))),
|
||||
'production.msg_stock_move_production_single'),
|
||||
]
|
||||
cls._allow_modify_closed_period.add('production_cost_price_updated')
|
||||
|
||||
@fields.depends(
|
||||
'production_output', '_parent_production_output.company',
|
||||
|
||||
Reference in New Issue
Block a user