ForgeFlow / ddmrp

DDMRP
GNU Affero General Public License v3.0
14 stars 17 forks source link

Extract Decoupled Lead Time (dlt) to product #71

Closed hparfr closed 6 years ago

hparfr commented 6 years ago

I think the concept of dlt is really interesting and can be used outside the context of DDMRP.

What do you think of externalize it in a new module, and store it on the product.product and bom ? [product.product].dlt will be stored, computed and depends of seller_ids, bom_ids.dlt [product.template].dlt will be related of product_variant_ids.dlt [mrp.bom.line].dlt will be a related to product_id.dlt [mrp.bom].dlt will be stored, computed and depends of product_id.produce_delay, product_template.produce_delay , bom_line_ids.dlt

LoisRForgeFlow commented 6 years ago

DLT is a property of a buffer (or product position (product + location)) not a product, it can happen that the same product has two different DLTs for two different buffers/locations.

hparfr commented 6 years ago

Correct, I was thinking of a case where each product have a preferred route. Not generic enough :)