Odoo Help


Inherit a res.partner search view to replace fields

Juan Sebastián Ocampo Ospina
on 6/23/15, 3:26 PM 567 views

Hey everyone!

i want to clear all filters and groups in res.partner search view and add some maybe. It's possible? thank you.


In the second case, I have just that problem you mentioned, there is a inherit or some inherits that adds more filters but I need to remove them, any ideas @Dimitrios Tanis?. Thank you.

Dimitrios Tanis
On 6/24/15, 7:30 PM

Do you want to do that in a specific view of the res.partner OR all views of it?

In first case, just create a new search view and add it to the act_window as a search view to override the default.

In the second case, the easiest way would be to create a view that inherits the base search view for partner, replace the whole <search> ... </search> and then under a new search tag add the filters you want.
Be careful though there might be other modules that inherit from the search view you replaced and may add their filters too.

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 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: 6/23/15, 3:26 PM
Seen: 567 times
Last updated: 6/25/15, 10:53 AM