コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
7066 ビュー

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.

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

アバター
破棄
著作者 最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
3
1月 23
8662
0
9月 24
1397
3
7月 24
1991
1
8月 24
9529
0
9月 23
1317