Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1414 Vues

Hi, 


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

How can I achieve this?

Thank you

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Auteur

does not work if the tree is inside a form

Publications associées Réponses Vues Activité
1
juil. 25
2432
2
juil. 25
7898
2
juil. 25
4304
2
juil. 25
4041
2
juin 25
2658