This question has been flagged

I am currently using Odoo 15 and integrating Odoo as an Order Management System to my mobile application using Odoo external APIs. I have already setup the connection between sales order and manufacturing order by selecting "Replenish on Order" and "Manufacture" in products inventory. When I use Odoo sales app to create a sales order it will automatically generates respective manufacturing orders but when I use an external API and pass the same information a sales order is generated but the respective manufacturing orders are not generated.

Avatar
Discard
Best Answer

Would you know the stage of sale order when using the external API? Is it in quotation/ draft or confirmed / sale order.

 Standard Odoo functionality is to create MO on confirmation of sale order.

Avatar
Discard
Author Best Answer

Jaideep! Its a sale order.

Avatar
Discard

Jaideep is right, odoo launches the rules once you confirm the SO, so does your api create a draft or a confirmed order?