Skip to Content
Menú
This question has been flagged
3 Respostes
7141 Vistes

Hi every body,

how can i avoid to sale product over his on hand quantity. I need to make constraint to avoid a negative stock or just alert to help cashier.

Thanks

Avatar
Descartar
Best Answer

Hello,

for this customization please contact on parikshitvaghasiya@gmail.com.

Avatar
Descartar
Best Answer

Hi,

We have this module named POS stock management https://apps.openerp.com/apps/modules/8.0/pos_stocks/ , the basic feature of this module is to display stock and deny or allow order for out of stock products, for further functioning and workflow you can refer its blog http://webkul.com/blog/point-of-sale-stock/.

Regards

Webkul SoftWare PVT LTD

http://webkul.com

Avatar
Descartar
Best Answer

Hello !

You can check available quantity of particular product when you click on product.

There is a function in point_of_sale/static/src/js/model.js - addProduct()

Here you can check with attr.qty_available field.

var prod_qty = attr.qty_available;

if (prod_qty <= 0 ) {

alert('Not enough stock for this product');

}

Hope this will work for you.


Thanks,

Acespritech Solutions Pvt. Ltd.

Skype: acespritech

info@acespritech.com

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de març 15
4046
1
d’ag. 25
657
1
de jul. 25
903
3
de jul. 25
3034
3
de maig 25
1629