Hi,
I need to create an automatic (jit) procurement from a raw materials need in MRP.
Use case:
Setup
1. Everything in this example is in 1 warehouse, simple in and simple out, with a default location stock.
2. There are 2 products "raw A" and "raw B" that are purchased from a supplier (it is in the supplier list of raw A and raw B) and have a procurement route of buy (the default one that stocks the warehouse's main location by buying).
2. There are 2 products "product C" and "product D" that are manufactured and have a procurement route of manufacture (the default one that stocks the warehouse's main location by manufacturing).
3. Product C has a BoM made of 1 raw A unit, type normal.
4. Product D has a BoM made of 1 product C and 1 raw B, type normal.
5. Do not buy anything so the stock is empty for the 4 products.
Tests:
1. Make and confirm a MO of 1 product C
Expected result: the stock move to consume raw A (stock -> production) should trigger a procurement rule of raw A, and this should trigger a RFQ of raw A.
Actual result: the stock move to consume raw A (stock -> production) has a supply method set as "Default: Take From Stock", and does not create any further procurement moves.
2. Make and confirm a MO of 1 product D
Expected result: the stock move to consume raw B (stock -> production) should trigger a procurement rule of raw B, and this should trigger a RFQ of raw B, also, the stock move to consume product C (stock -> production) should trigger a procurement rule of product C, and this should trigger a MO of product C.
Actual result: the stock move to consume raw B (stock -> production) and the stock move to consume product C (stock -> production) have a supply method set as "Default: Take From Stock", and do not create any further procurement moves.
How can I configure odoo so the consumption of raw materials do create procurement moves in the source location?
Thanks