I am working on an MES integration with Odoo for a control system. I am able to select a manufacturing order, start production, modify produced and consumed quantities, and end production. However, while inventory moves are registered, they are not updated in inventory (quantity available).
I execute read/write methods on the following models for the integration:
mrp.production
stock.move
stock.move.line
product.template
I also create a stock.valuation.layer record for all of the material.
Everything executes as expected, except when the production is complete. none of the inventory quantities adjust.
Thoughts?