Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1491 Widoki

in my business I often want to know
which partners did I sell products x,y to.


Is there a way in odoo to search through all the invoices like this: 

"Give me Every Invoice that contains either wooden table a or wooden table b in the invoice lines"

--

Another use case I would like would be a special "search term"
some invoices always have a certain topic for me but the topic is not something that I can search right now. 


A topic might be a certain law or situation anything that, I would like to be able to enter such a search term for every invoice so that 

  1. I instantly know what the invoice was about and 
  2. Ill be able to search for it.


is there any way to do this in odoo right now? If not, are there 3rd party modules that implement this kind of functionality? (using odoo 15)
Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

You can achieve the desired functionality using the built-in search capabilities. To do so, follow these steps:
1. Go to "Reporting" tab in Accounting App -> choose "invoice analysis" menu item. -> choose pivot table view


2. Apply Custom filter based on Product is equal to "your product name" or Apply Custom Group by Products 


You will get all invoices related to the product.


Hope it helps

Awatar
Odrzuć
Najlepsza odpowiedź

Hii, Josef Schmid

You can used bellow code.


filter_doamin="[('o2m_field_id.product_id.name', 'ilike', self)]"/>

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
kwi 25
7973
1
lip 25
464
1
cze 25
1711
3
lip 25
3336
1
maj 25
1478