Community mailing list archives

Re: Procurement Make To Order Check Stock First

Paul Catinean
- 05/18/2015 10:10:40
I also raised awareness about this feature it's basic need in a lot of warehousing processes, glad to know there's movement on it!

On Mon, May 18, 2015 at 3:52 PM, Joël Grand-Guillaume <> wrote:

I think we do have this module under review in OCA:

With this module, you have a new type of routes that allow to first source on stock what you can, and the remaining quantity on classic MTO.

Feel free to test it and provide your feedback.



On Mon, May 18, 2015 at 2:31 PM, Hans Yonathan <> wrote:

Hello Odoo Community,


There’s a lot of request that asked about procurement method in Make To Order, to be check stock first.

Also there’s a discussion about this topic on the forum:


But still there’s no solution about it,

Its very strange because it must be a basic feature of ERP for procurement process but Odoo doesn’t developed this function.

Even the warehouse system already upgraded in version 8, there’s still no solution about it.


So in my side, we begin to developed a module to achieve this function.


How the module works:

In Routes we have add additional checkbox called “Check Stock”,

You can check this checkbox on “Make To Order”, and the behavior of this make to order will always check the stock first rather than always create a PO or MO without consider the stock.

I added this checkbox, so we still have a past behavior of make to order.

When you have product that make to order and buy or manufacture,

The system will readjust the quantity to buy or manufacture based on the quantity that we already have on procurement process.


The computation formula is:

If product forescasted quantity >=0,

We apply the formula: procurement quantity = Order quantity – product forescasted quantity

If order quantity <= product forescasted

We cancel the procurement.


Right now the module is still beta and never used in production database and If there’s a people that want this function, can you help us to test it?


In our side we have test this module and its worked:

Case1:  sell Product (MTO and buy)

Case 2: sell product (MTO and manufacture)

Case 3: sell product (MTO and manufacture), and the raw material of that product BoM (MTO and buy)

Case 4:  manufacture product (MTO and manufacture), and the raw material of that product BoM (MTO and buy)


Another case that not test yet:

Multi Level BoM (test it above 2levels)

Multi Location

Multi company

Multi Warehouse

Multi Company, multi warehouse and multi location




Module link:




Thank You.


Best Regards,

Hans Yonathan

Odoo Support


Expert in Finance, Information System & Business Intelligence

Odoo Silver Partner


Tel. 13670137019 (China - Shenzhen)


Post to:



Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28

Post to: