Odoo Help

1

Many2one field advanced search in form view

By
David Baramidze
on 8/10/16, 4:22 PM 617 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 iWesabe

--Shameem iWesabe--
788
| 5 3 5
Calicut, India
--Shameem iWesabe--

Activities     :    Youtube

                           Stackoverflow 

Experience

           iWesabe                                  ◉

           Axon Communications        ❍

           Cybrosys Technologies        ❍


Shameem 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>
 </record> 

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: 8/10/16, 4:22 PM
Seen: 617 times
Last updated: 8/16/16, 6:00 AM