Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm bringing this topic back on the table: it concerns v6.0.4 and may apply to V7 (not tested yet) discussed here with no solution : V6 Forum : Minimum quantity to produce in BOM
How can we force the minimum quantity to be produced in a production run ?
Here's the expected behavior for the same finished product :
- BOM A : consumes 1 big roll > forces production of a lot of 10 small roles
- BOM B : consumes 10 small rolls > forces production of a lot of 10 small roles
- BOM C : consumes 1 small roll > produces 1 small role
Here's what I tried to no avail:
product_qty to 10in BOM A has no effect, ex: procuring 7 finished rolls produces 7 not 10
product_roundingin the BOM properties: no effect, it's a division related info
min stock rules with qty_multiplefor the finished product: problem: any procurement is rounded to 10
I'm running out of ideas, and am convinced this case happens anywhere in many industries. help ..
After reading the code of MRP and Procurement modules, it seems that my question targets the wrong module.
The MO (Manufacturing Order) is generated from the OP (Procurement). And it is the
OP that holds the quantity to be produced.
- Selling a make to stock product (or with sale.order.line's procurement method set to 'from stock') the MSR (Minimum Stock Rule) will be checked. If that MSR has qty_multiple set, then it will be used to round the quantity manufactured by that number. (lots of 10 products in my case).
- Make to Order products (or with sale.order.line's procurement method set to 'on order') the MSR is not used, leaving the Scheduler to create a MO for the exact quantity needed.
The BOM will only define how much of product(s) is required to produce such or such quantity.
- I cannot tell the ERP to produce with quantity_multiples according to BOMs.
- I can only tell automatic procurement to replenish the stock with quantity_multiple option defined in MSR for one product. The same quantity_multiple applies whatever the BOM.
One more option I could explore would be to use multiple MSRs to define several quantity_multiple for different locations and playing with location chaining to land all product in the same location, but that sounds rather complex.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/16/13, 6:17 AM|
|Seen: 1991 times|
|Last updated: 3/16/15, 8:10 AM|