Skip to Content
Menu
This question has been flagged
1 Atsakyti
1429 Rodiniai

Hi, 


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

How can I achieve this?

Thank you

Portretas
Atmesti
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

Portretas
Atmesti
Autorius

does not work if the tree is inside a form

Related Posts Replies Rodiniai Veikla
1
liep. 25
2445
2
liep. 25
7905
2
liep. 25
4313
2
liep. 25
4059
2
birž. 25
2660