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.
My little module is counting products in locations and displays it. Now I would like to improve my MOVE module a bit.
What i would like to achieve:
If am MOVING a product straight from product page (product name is automatically placed into input window(PRODUCT)) in this moment ORIGIN/SOURCE Location stays empty so would be nice if system will check these locations where this product is stored and show it including as I mention quantities in each of the locations.
To avoid making notes (my warehouse is huge - 500 locations and some contains the same product so would be nice to have something like this). If product is only in one location and you know where, moving it is not a problem, if you have the same product in 20 or more locations ..... may be tricky. If I can have only a list of locations where chosen product is stored .... easy right ?
I though that it will be a simple task but is not. First of all how (using onchange? then if Product is not empty or if i choose product from the list system will load a list of locations where product is stored?)
For now system loads whole list of all locations. How can I filter it and limit only to the locations with this product? Is it possible ?
ex: domain="[('location_id','=?','product_name')]" (I don't know so please don't laugh).
Hope you know guys what I mean and what I'm trying to achieve ;)
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: 4/6/15, 2:01 PM|
|Seen: 406 times|
|Last updated: 4/6/15, 2:20 PM|