Skip to Content
Menu
This question has been flagged
3 Replies
7161 Views

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

Hello,

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

Avatar
Discard
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
Discard
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
Discard
Related Posts Replies Views Activity
2
Mar 15
4076
1
Aug 25
674
1
Jul 25
928
3
Jul 25
3146
3
May 25
1683