Skip to Content
Menu
This question has been flagged
3 Replies
6338 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
3179
0
Dec 24
46
1
Dec 24
177
0
Nov 24
90
1
Nov 24
153