Odoo Help

0

How to display search view inside a form ?

By
jean44
on 9/22/14, 12:08 PM 1,765 views

Hello,

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.

Prakash
on 9/23/14, 1:42 AM

could you more explain with an example please

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

is it possible ?

0
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" />
</div>

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.

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

2 follower(s)

Stats

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