Skip to Content
Menú
This question has been flagged
2 Respostes
9599 Vistes

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

Avatar
Descartar
Best Answer

You need to set the mto route on the raw materials (or product category of the raw materials) you want to see creating further procurement when required by a production order. Note that this behaviour is only linked to this route and not the rules associated to it.

Avatar
Descartar
Best Answer

If you want Make To Stock (MTS), then you will need to create some Reordering Rules.

Avatar
Descartar