Community mailing list archives

Re: Reseved sales order from Quantity on hand only

Camptocamp SA, Joël Grand-Guillaume
- 03/03/2015 06:54:38

I can add to Lionel advice that you can also use his suggestion with the module "sale_exception" here :

Or even use directly "sale_exception_notstock" here:

The first allow you to define your exception, the second provide a algorithm to compute your stock level at the date of delivery and raise an exception if your SO will not have enough stock at delivery date (taking current PO into account).



On Tue, Mar 3, 2015 at 11:12 AM, Lionel Sausin <> wrote:
Odoo won't stop salespersons from selling something it does not possess - but in my experience nothing in the world can keep salespersons from selling :) .

Still, Odoo does display a warning message based on the quantity available (including receptions).
I've made a module to base this warning on the stock available to promise instead, but it's not in CA yet.
If you're using Odoo v7, I'd be glad if you would give this branch a try and report if it works for you or not:
Installing install the module "stock_available_immediately" from this branch will add a new field "quantity available to promise" on product forms, and define this quantity as "real stock - outgoing products".
So it would be better than real stock alone, since you take reserved goods into account.
In this branch, I took care that salespersons receive a message when this quantity available to promise is not sufficient to honor the order.

Le 16/02/2015 23:08, Emad Gamal Naguib a écrit :
<blockquote cite="mid:BE0AF24C43AD9E48A876D9E5D3BFCB04A14C626D@EXCHSRV2.EGIC.COM.EG" type="cite">

Hi Experts ,


Could you help me to find solution  to reserve the sales order quantity from the Quantity on Hand not from  Quantity Forecasted .


That’s  mean if I don't have the quantity of this product on my storage location prevent the sales order . don't check the forecasted quantity [Confirmed Purchase order] .


Appreciate your quick resonse



Emad Gamal

MOB: 01015156630

Skype : emad.gamal4906


Post to:

Post to:



Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28