Odoo Help

0

How can I search with a one2many field

By
scot77844
on 1/29/15, 12:55 AM 1,328 views

Hi,

In sales order, I want to search the records which are having the product "Product-A" in the sales orders. How can I filter those records by using search option. Please help me with a solution.

Thank you in advance.

 

Regards,

Scot.

0
scot77844
On 1/29/15, 1:43 AM

Thanks. The advanced search is working good if I am giving the product name. But if I want to search with other fields like qunatity. Then the advanced search is not working. I want to search with the remaining fields also.

0


Generally when you enter the product in the sale order line, it puts 'name' of the product in the 'name' field of sale order line, that field is labelled as "description".

Now there are two options

1./ You can add the field "order_line" in the search view and then type in the product name, so system tries to search in the 'name' field of the order line and if it is found there, it will list out those sales orders.

2./ You can directly use the 'advanced search' option in the search view of sales order and on the Order Lines 'contains' operator you can type in the product name and search it, which will list those sales orders with that product.

Hope this helps. !!

About This Community

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/29/15, 12:55 AM
Seen: 1328 times
Last updated: 3/16/15, 8:10 AM