Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1413 Visualizzazioni

Hi, 


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

How can I achieve this?

Thank you

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

does not work if the tree is inside a form

Post correlati Risposte Visualizzazioni Attività
1
lug 25
2432
2
lug 25
7898
2
lug 25
4304
2
lug 25
4041
2
giu 25
2658