콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
7252 화면

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
8835
2
8월 25
2417
0
9월 24
1686
3
7월 24
2330
1
8월 24
9881