Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1416 Widoki

Hi, 


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

How can I achieve this?

Thank you

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

does not work if the tree is inside a form

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
2432
2
lip 25
7898
2
lip 25
4304
2
lip 25
4041
2
cze 25
2658