Odoo Help

Welcome!

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

1

Many2one field advanced search in form view

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

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

Or how to show search more?

Thanks

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

I Found answer:

https://www.odoo.com/forum/help-1/question/search-more-in-many2one-field-20108#answer-107034

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

0
shameem@aχoncoms
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>
 </record> 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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