Skip to Content
Menú
This question has been flagged
1 Respondre
1423 Vistes

Hi, 


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

How can I achieve this?

Thank you

Avatar
Descartar
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
Descartar
Autor

does not work if the tree is inside a form

Related Posts Respostes Vistes Activitat
1
de jul. 25
2437
2
de jul. 25
7901
2
de jul. 25
4309
2
de jul. 25
4056
2
de juny 25
2659