Odoo Help


How to display search view inside a form ?

on 9/22/14, 12:08 PM 2,553 views


I have an object which has a field of one2many, it is displayed as a tree in the form, I want to add search view also, how please ?



Default search options in form view not available. other possible solution in Header form add related field (line field one2many field) and then add in header search view.

on 9/23/14, 1:42 AM

could you more explain with an example please

on 9/28/14, 8:21 AM
On 9/24/14, 11:03 AM

is it possible ?

Mohamed Essakali
On 9/28/14, 10:18 AM

It's not possible in standard, I think the best solution used in this case (a lot of one2many objects will be displayed within a form view)  is to use button to display the tree view of those objects like in customer view :

<div class="oe_right oe_button_box" >

    <button name="%(action_tree_of_one2many_object)d" string="Link to..." type="action" />

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

2 follower(s)


Asked: 9/22/14, 12:08 PM
Seen: 2553 times
Last updated: 3/16/15, 8:10 AM