odoonz / mrp

MRP Related addons
2 stars 1 forks source link

[FEATURE-REQUEST]: Dynamic BoM based on inventory location #1

Open gustavovalverde opened 6 years ago

gustavovalverde commented 6 years ago

In a dynamic Factory, with this kind of needs, it's also very usual that they have to continuously maintain a specific BoM updated with their inventory.

We'd like to have the ability to link a BoM with an inventory location (or maybe multiple), and if a product is moved to this (or those) location, then it's automatically added to the BoM.

For example, we have a use case with a client that manufactures furniture, they add the fabric to the furniture, but they constantly buy new fabrics, and old ones are replaced (and never used again), so they had the idea of linking the BoM to an inventory location....this way the materials available in this BoM are the ones available in that location.

Side thinking

In other use cases, this would be nice for Product Categories, where BoMs could be filled with all the products available in an specific Product Category.

gdgellatly commented 6 years ago

Hi @gustavovalverde

I have moved all my modules to odoonz/odoonz_addons for v11, and probably v10 backports eventually. Too much work maintaining all these small repos.

Indeed there are any number of transformations that someone could want to do to a manufacturing order, so you gave me an idea, which I've just refactored into a v11 alpha (should work on v10, basically identical except v10 has one extra view)

So rather than specifying booleans like match_attributes I made it modular, so we can apply any transformation we like and the transformations will be applied, rather than filling up bom_line with all these different options.

However I'm not sure I understand your use case quite right. If you could give before and after screenshots or some explanation of the manual process of what you mean.

i.e. Is it one BoM per furniture/fabric, or is there a bom with required variants and lots of lines choosing 1 fabric, or something else.

Same with the second case, is it the BoM or the production order? i.e. is all you want is a button that says fill bom, pick a category and the bom lines are populated with all the products of the category?