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

How to Load products having quantity greater than 0 in POS ?

I tried point_of_sale/static/src/js/model.js Line number 177

[['sale_ok','=',true],['available_in_pos','=',true], ['product_uos_qty' , '>', 10]], but no use, got stock in this situation, pls help me to sort this out.

Avatar
Opusti
Best Answer

Hello arun, try with the following portion of code, it worked for me:

[['sale_ok','=',true],['available_in_pos','=',true],['qty_available' , '>', 0]]

Hope it help you

Cheers
Alejandro

Avatar
Opusti
Best Answer

Wow, great Alejandro, 100% works.

I just edit point_of_sale/static/src/js/model.js

And change

[['sale_ok','=',true],['available_in_pos','=',true]]

To

[['sale_ok','=',true],['available_in_pos','=',true],['qty_available' , '>', 0]]

And the zero quantity product is now gone from my POS.

Great info bro

Thanks

Avatar
Opusti
Avtor Best Answer

Alejandro, thanks for your reply, but i tried this one, same result, did u make any changes to point_of_sale.py..?? 

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jan. 23
8669
0
sep. 24
1402
3
jul. 24
2000
1
avg. 24
9531
0
sep. 23
1319