Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi, In the pos module, How can I filter products which have positive quantity? I added a condition to the point-of-sale/static/src/js/models.js file like that (in line 180 which fetches the products):
This is the whole line after adding my change:
But it seems that it doesn't work !! I experimented with the other conditions; setting false to 'sale_ok' attribute at the same line and the products have gone as expected !!
Am I wrong with the name of the 'qty_available' attribute? Is the syntax wrong? Thank you
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/7/14, 2:08 PM|
|Seen: 972 times|
|Last updated: 3/16/15, 8:10 AM|