Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
96 Tampilan

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 🙏

Avatar
Buang
Jawaban Terbai

It sounds like you're facing a tricky issue with inconsistencies between your Odoo Staging and Production environments. Here's a breakdown of potential causes and troubleshooting steps:

  Module Version Mismatch: Verify that the exact same versions of all relevant modules (especially stock, mrp, and any custom modules) are installed in both environments. Even minor version differences can cause unexpected behavior.

  View Customizations: Check for any custom views or modifications on the product.template form in Production that might be hiding or altering the display of the "BoM" and "Inventory" smart buttons. Review inherited views for potential conflicts.

  Access Rights Deep Dive: While you've checked user access, double-check that the user confirming the Sales Order in Production has all necessary rights related to Manufacturing and Inventory. Sometimes, subtle differences in access rights can prevent MO creation.

  Automated Action Issues: Investigate any automated actions or server actions that might be interfering with the MO creation process in Production. Ensure they are correctly configured and triggered.

  Clear Odoo Cache: Try clearing the Odoo cache in your Production environment. This can resolve issues related to outdated or corrupted cached data.

  Check for Pending Database Migrations: Ensure there are no pending database migrations in your Production environment that might be causing inconsistencies.

  Review Odoo.sh Deployment Logs: Examine the Odoo.sh deployment logs for any errors or warnings that might indicate a problem during the deployment process.

For personalized assistance:
https://www.pragtech.co.in/contact-us-mql.html

Avatar
Buang
Jawaban Terbai

Hello Awa,
Check your custom code and ensure that it is not affecting the Odoo default views and also you can check: Settings/Technical/User Interface/Views.

Thanks
Feel free to  Contact Us for any personalized assistance. 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Agu 25
2161
1
Mei 25
2029
Stock update Diselesaikan
1
Des 24
6665
0
Jan 22
3758
0
Okt 17
2976