Hello everyone,
We are currently facing an issue on Odoo 17 (Enterprise, Odoo.sh) related to the automatic creation of Manufacturing Orders (MOs) when confirming a Sales Order.
Here’s what’s happening:
-
On our Staging environment, everything works perfectly:
- When we confirm a Sales Order, Manufacturing Orders are automatically generated as expected.
- The Product form view correctly displays all smart buttons such as “Bill of Materials (BoM)”, “Inventory”, and “Traceability”.
-
However, on Production, the behavior is different:
- Manufacturing Orders are not generated when confirming a Sales Order.
- On the Product form, the “BoM” and “Inventory” smart buttons are missing, even though both environments are configured identically.
- All modules (stock, mrp, sale_management) are installed and active.
- The routes (Make To Order + Manufacture) are properly defined on the product and working fine in Staging.
- The products are correctly set as “Storable Products”.
- User access rights are the same on both environments.
- There are no visible errors in the production logs.
It looks like the views inherited from stock or mrp (product.template form view) may not be properly loaded in Production, which could explain why those smart buttons are missing — and why Odoo might not be linking products to their BoMs when trying to trigger manufacturing orders.
So far, we have checked:
- Module installation and dependencies (OK)
- Product configuration (OK)
- Routes setup (MTO + Manufacture) (OK)
- User rights and access groups (OK)
The only visible difference between Staging and Production is the absence of the “BoM” and “Inventory” smart buttons on the Product form — and this correlates with the failure to auto-generate Manufacturing Orders when confirming Sales Orders.
Has anyone experienced this issue where Odoo.sh staging works correctly but production fails to create MOs automatically, and the smart buttons from mrp and stock are missing on the Product form?
Could this be related to a missing or inactive view inheritance, cache or deployment issue, or perhaps a broken link between product and BoM due to database synchronization problems?
Any help or advice would be greatly appreciated 🙏