Skip to Content
Menu
This question has been flagged
1 Reply
1437 Views

Hi, 


I need the "add a line" button on top of the tree within a form.

How can I achieve this?

Thank you

Avatar
Discard
Best Answer

Hi,

You can use the attribute editable='top' in your tree view

example:

<tree string="Order" editable="top">
         <field name="name"/>
         <field name="model_id"/>
   </tree>

Hope it helps

Avatar
Discard
Author

does not work if the tree is inside a form

Related Posts Replies Views Activity
1
Jul 25
2462
2
Jul 25
7916
2
Jul 25
4331
2
Jul 25
4072
2
Jun 25
2667