Skip to Content
Menu
This question has been flagged
2 Replies
5264 Views

hi,

Is there a way on Odoo eCommerce, to avoid negative stock?

Or at least to hide the products with zero stock from the web page.

Regards

 

Avatar
Discard
Best Answer

hi,

Openerp provide 2 modules to avoid negative stock issue.you can download the modules in the following links:

  1. Prohibit negative stock quantities

https://apps.openerp.com/apps/modules/7.0/c2c_stock_negative/

2. Sale Exeptions ---https://apps.openerp.com/apps/modules/7.0/sale_exceptions/,

these two modules will help for you to avoid negative stocks

Avatar
Discard
Author Best Answer

hi,

I had installed the "Sale Exceptions" module, and added the following Rule:

if line.product_id.qty_available < line.product_uom_qty: failed=True

This validation only affects the Sales Order creation; but from the eCommerce side, the Quotation is still created without restrictions.

Regards

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 15
5912
1
Mar 15
3045
0
Aug 22
1437
0
Apr 15
2477
0
Mar 15
2288