Odoo Help

Welcome!

This community 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.

1

Customizing MOVE module

By
Dr Obx
on 4/6/15, 2:01 PM 361 views

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.

Why ?

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 ;)


Where is my picture ??????????

Dr Obx
on 4/6/15, 2:20 PM

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/6/15, 2:01 PM
Seen: 361 times
Last updated: 4/6/15, 2:20 PM