Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
1542 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Beste Antwort

Hii, Josef Schmid

You can used bellow code.


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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Apr. 25
8045
1
Juli 25
564
1
Juni 25
1884
3
Juli 25
3487
1
Mai 25
1616