Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odgovori
7193 Prikazi

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
Opusti
Best Answer

Hello,

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

Avatar
Opusti
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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
mar. 15
4125
1
avg. 25
751
1
jul. 25
979
3
jul. 25
3378
3
maj 25
1805