Odoo Help


How to Load products having quantity in POS ?

on 12/15/14, 1:12 AM 1,018 views

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.

Alejandro Perez Cosio
On 12/16/14, 6:27 AM

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


Ridwan Nurwahid
On 6/8/16, 7:05 PM

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],['qty_available' , '>', 0]]

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

Great info bro


On 12/16/14, 6:41 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 12/15/14, 1:12 AM
Seen: 1018 times
Last updated: 6/8/16, 8:20 PM