I would like to find out if there's a way to configure the produce button (in the Manufacturing Order Form) such that if the bill of materials components are not fully in stock the Manufacturing order won't be completed i.e. Manufacturing Orders will only be completed if all the Bill of Materials components are in stock. Currently Odoo allows you to complete the manufacturing order regardless of the quantity on hand and it negatively affects stock.
Example: I use components A, B and C to produce component D. However, I don't have any stock on hand for component B in the source location for the manufacturing order, how can I stop users from hitting the produce button until more units of component B are moved to the source location?