Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
6330 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mar 15
6763
1
mar 15
3708
0
ago 22
2332
0
apr 15
3232
0
mar 15
3301