Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1418 Zobrazení

Hi, 


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

How can I achieve this?

Thank you

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

does not work if the tree is inside a form

Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
2432
2
čvc 25
7898
2
čvc 25
4304
2
čvc 25
4041
2
čvn 25
2658