Community mailing list archives

community@mail.odoo.com

Re: Reseved sales order from Quantity on hand only

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


I can add to Lionel advice that you can also use his suggestion with the module "sale_exception" here : https://github.com/OCA/sale-workflow/tree/8.0/sale_exceptions

Or even use directly "sale_exception_notstock" here: https://github.com/OCA/sale-workflow/tree/8.0/sale_exception_nostock

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).

Regards,

Joël




On Tue, Mar 3, 2015 at 11:12 AM, Lionel Sausin <ls@numerigraphe.com> 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:
    https://github.com/numerigraphe/stock-logistics-warehouse/tree/7.0-stock-available-warn-salesperson
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

 

Regard

Emad Gamal

MOB: 01015156630

Skype : emad.gamal4906

 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--


camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28