تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6286 أدوات العرض

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
مارس 15
6742
1
مارس 15
3696
0
أغسطس 22
2324
0
أبريل 15
3225
0
مارس 15
3291