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.
When I go to Warehouse Menu > Configuration > Location and select a location, there is a 'Product' button on the top right.
Clicking that button will show products in that location only
// Upload photo function of this forum doesn't seem to work, pleas take a look at this:
I want to get this list in code too.
I traced into code of stock module. In stock/stock_view.xml, there is a 'Product' button declaration there, linked to a 'act_window' action, id="act_product_location_open" (its numeric id is 351 in my installation). Document about action (https://www.odoo.com/documentation/8.0/reference/actions.html) is too short for me, so I am getting stucked there and don't know how stock module loads products.
Could you please show me a hint, what document/tutorial should I read, where the loading code is?
Thank you in advanced!
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.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: 2/16/16, 1:26 AM|
|Seen: 420 times|
|Last updated: 2/16/16, 4:20 AM|