Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
6720 Vistas

Hello,

i use odoo12 community on Ubuntu 18.04 and all works fine. Burt i have a filter-problem on th inventory.

If i open as tock location and want to show the products on the stock-location odoo shows me the products i  want and also archived products. So what sense make this? If i have a archived product (the way to hidden an unwanted product because deleting is not a possible action) then i think the product is not showing in any warehouse or stock-location.

On my case i have set my new products and later i discovered some mistakes and i archived this products. In all other APPs the archived product are hidden except in stock locations under current stock.

The next problem i have is to see products in stock they moved to other location. If i moved from every location to each location i have all products listed in all locations. Make this sense? In my thoughts i have to set a location for the product or better set the product in a location and if i move to another location it can't be in the old location.

I think a workaround is to filter each product its QTY and if >0 then showing in stock location else not.

I'm in the beginning with odoo inventory and this make me confused because i use a laser-scanner and after scan a stock-location i have to scroll 500 products with empty qty because of moving from these location to antother.

Or is there a way to hidden product listing in old locations?

Hope someone can help or explain me some tricks... have played with default filters like the Domain-Filter in Edit Action under Developer Mode.

Regards,


Borris

Avatar
Descartar
Autor Mejor respuesta

Hello srikeshinfotech,

thanks for the quick reply. But i'm not in Location/Stock/Products - in my case i have in this path all products not the products on the location. - Bug? First time i hoped it shows only products on the locations but not... by the way here in this path shows only active products (make sense) but all my 125 products not the 14 products i have moved into this location.  Okay the other products have QTY=0 but why see i these products? For what?

I'm in Location/Stock/current stock means i click the Button "current Stock" instead of Products on the location and then i have the products in this locations but also archived products. I'm wrong here?

And in this path there is no Active to filter only in your path.

And yes i want a default filter because i don't want to click each time my own filter after reached this path - make no sense for me because i don't want to see archived products on my laser-scanner. How can i set default filter or reprogram the default filter - where is it? Because if i have current search and click on default and save as favorite. Next time it ignored the default option...

Here the pictures (Because have not permission to upload here) please check Case-Sensitive or Copy and Paste link:

http://www.nighteagle.de/downloads/Filter1.PNG

http://www.nighteagle.de/downloads/Filter2.PNG

Avatar
Descartar
Autor

So can i Edit Action of the Current Stock or Produzct Button:

See here: http://www.nighteagle.de/downloads/Action.PNG

Hi, you should select the filter from the favorites instead of selecting parameter each time.

'Hi, Please give this value "[('location_id', 'child_of', active_ids),('product_id.active','=',True)]" in domain value. Then current stock will show only the active products.

Autor

Hello,

Yes you save my day!!! So Change Domain and Context to have the right overview.!!!

Mejor respuesta

Hi Borris, please use the following filter to get active products in Stock Location. You can get this feature by clicking the  search icon in the search bar. After clicking the icon you will get more search options, Click on Filters--> Add custom Filter then select "Active" in options. 


Use the following filter to remove products which are less than 0 QTY. Using "Favorites" option you can save this current filter and can use whenever you want.


Hope this help you,

Thanks and regards,

Avatar
Descartar
Mejor respuesta

In addition to srikeshinfo, you can save such custom filters a favourites, or even create your own default filters programmatically by extending the corresponding tree views.

Avatar
Descartar
Autor

How can i marked as solved?

Click on the "Tick'' icon in answer part.

Autor

Have only Delete Edit and Convert as Comment... In my opinion the forum have a bad overview. In other forums i can see on first site my own post button here i have to search for it and also don't find marker like Solved ... very complicated

Hi, If you click on the diamond icon you will get the question list which you asked and answered.