Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1536 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hii, Josef Schmid

You can used bellow code.


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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
Website Search bar Đã xử lý
3
thg 4 25
8040
1
thg 7 25
560
1
thg 6 25
1879
3
thg 7 25
3485
1
thg 5 25
1614