Hi,
In Odoo, you cannot assign both "Buy" and "Manufacture" routes directly to the same product. However, you can implement a multi-level setup to accomplish your objective. This involves first checking stock availability upon sales order confirmation, then purchasing any missing components, and finally initiating manufacturing. The recommended method is to split the product into different components. For example, create the component product (such as "Component A") and a finished product (like "Final Product B") that includes Component A in its Bill of Materials (BoM).
You should set Product B with routes like “Manufacture” and “Make to Order” (MTO), but note that the MTO route needs to be unarchived from the routes to be active. Meanwhile, Product A should be configured with “Buy” and “MTO”. When the sales order for Product B is confirmed, Odoo will generate a manufacturing order that depends on Component A. If Component A isn’t available in stock, a purchase order is automatically triggered. Once received, the manufacturing process for Product B can continue.
Hope it helps