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
(grafted from 8497b88d611ccbff8f9303a4f0685e8045a0810e)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier
2025-03-26 23:58:06 +01:00
parent 05a8dc26fe
commit 00db1a5df9
+1
View File
@@ -77,6 +77,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_input', '_parent_production_input.id',