Odoo Help


Many2one field advanced search in form view

David Baramidze
on 8/10/16, 4:22 PM 838 views

How to open list view with advanced search and select from this list???

Or how to show search more?


David Baramidze
On 8/13/16, 5:08 PM

I Found answer:


I spent 7 hours on this problem and all I had to do was add few more records! <-- This is Answer. Thank you!

Shameem Babu @ iWesabe
On 8/10/16, 11:50 PM

To show the advanced search  in default while you open the tree view 

1) You add your advanced search view 

<filter name="name_of_your_filter" 
        string="Your Advanced Search view name"
        domain="your domain such as [('value','=',False)]"/>

2) Edit the context in your action

<record model="ir.actions.act_window" id="module_of_action.action_name">
     <field name="context">{'search_default_name_of_your_filter':1}</field>

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.


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)


Asked: 8/10/16, 4:22 PM
Seen: 838 times
Last updated: 8/16/16, 6:00 AM