跳至內容
選單
此問題已被標幟
2 回覆
6288 瀏覽次數

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

 

頭像
捨棄
最佳答案

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

頭像
捨棄
作者 最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
3月 15
6742
1
3月 15
3697
0
8月 22
2324
0
4月 15
3228
0
3月 15
3294