Skip to Content
Menu
This question has been flagged
3 Replies
3517 Views

I am using OpenERP 7 at a company where I need to have a manufacturing order for each unit that is created. When I have OpenERP create manufacturing orders from my sales orders, is there a way to have it take sales order lines that have a quantity of 3, 5, etc., and create an order for each?

Avatar
Discard
Best Answer

Maybe this: https://www.odoo.com/apps/6.0/mrp_mo_split/ can help or at lest be seom inspiration on how to do it if you want to develop it yourself.

Avatar
Discard
Best Answer

Hi Matt, did you manage to limit amount of units in MO? I am looking for this feature right now.


I started to look in scheduler but no luck yet.



Ok. We have edited stock_rule.py

and in line 93 we have manually changed product_qty, to 1.

We have changed scheduler to execute every 20 minutes.

So scheduler makes 1 piece MO every 20 minutes until there are no more MO to make.

You can execute scheduler faster to get more MO faster

Avatar
Discard
Best Answer

I don't believe there is currently a way to do this, although your use case is slightly different from mine.  I expect, when you say that you create the MO from the Sales Order, that you are in a MTO operation.  We are in a Make to Stock operation, so we use Run Schedulers to geterate MOs, based on demand defined in the sales orders.

I will probably be making a module that fixes my issue.  We will add a field for Max Order Qty to the Reorder Rule, so I don't think it will work with MTO.  And, we are on version 8, which is significantly different from v7.

Avatar
Discard