Skip to Content
Menú
This question has been flagged
1 Respondre
1722 Vistes

We are testing the manufacturing process. Even if the material is not available, we are pushing through with it. However, the BOM (Bill of Materials) quantity becomes negative because the material is not available, but the MO (Manufacturing Order) is allowed.  in odoo15

Avatar
Descartar
Best Answer

Hi,


In Odoo 15 Manufacturing, the system automatically checks the availability of raw materials when you confirm a Manufacturing Order (MO). It updates the MO status based on availability:


    "Waiting for Components" if some or all materials are not available


    "Ready" when all required components are available and reserved


However, Odoo does not block the MO from proceeding if materials are missing. It allows you to force production, which can lead to negative inventory if the components haven't been received into stock yet.

To prevent MOs from being processed without materials:


You’ll need to customize the system, for example:


    Add a condition that prevents validation or production start unless the MO state is "Ready" (i.e., all materials are available and reserved).


    Raise a warning or block the button action in the backend using a custom method override on the mrp.production model.


Hope it helps

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de febr. 25
1207