Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
298 Переглядів

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 🙏

Аватар
Відмінити
Автор Найкраща відповідь

Thanks to everyone for your answers. The display error originated from the modification made to the view Product.template.product.form, which instead of using 'product' as the view model, used a variant of products. The Manufacturing order creation from the Sales validation issue comes from the route rules. I only have to archive of the duplicated ones.

Аватар
Відмінити
Найкраща відповідь

Hi,


This issue is likely caused by a broken or missing view inheritance in Production. The “BoM” and “Inventory” smart buttons are added through inherited views from the mrp and stock modules. If those views aren’t properly loaded, the product loses its link to the BoM, preventing automatic Manufacturing Order creation.


This can happen if a custom module overrides the product form without including those inherited parts, or if a deployment or cache issue on Odoo.sh prevented the views from loading.


To fix it:


    Check Settings → Technical → Views for mrp.product_template_form_view and ensure it’s active.


    Upgrade the mrp, stock, and related modules in Production.

    Rebuild the Odoo.sh environment to clear cache.

    Compare view definitions between Staging and Production.


Once the views reload, the smart buttons should reappear, and Manufacturing Orders will generate automatically again.


Hope it helps

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
серп. 25
2187
1
трав. 25
2046
Stock update Вирішено
1
груд. 24
6807
0
січ. 22
3767
0
жовт. 17
3004