Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1412 Vistas

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
Mejor respuesta

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 25
2432
2
jul 25
7897
2
jul 25
4304
2
jul 25
4041
2
jun 25
2658