Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1425 Представления

Hi, 


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

How can I achieve this?

Thank you

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

does not work if the tree is inside a form

Related Posts Ответы Просмотры Активность
1
июл. 25
2437
2
июл. 25
7901
2
июл. 25
4309
2
июл. 25
4056
2
июн. 25
2659