erp5_trade: rework Inventory workflow
In order to have Inventory Offset Lines, we want the user to be able to check the generated lines before validating. This commit therefore adds an intermediate state `planned`, which will be used to trigger generation of Simulation Movements and building of the offset lines. Some other small changes have been done to make the actions' names more clear and adhere to ERP5 standards, but all keep backward compatiblity: previous states have been kept, and previously validated inventories are now recorded so that no Simulation Movements will be generated that would impact stock values.
Showing
Please register or sign in to comment