跳至内容
菜单
此问题已终结
1 回复
1443 查看

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

相关帖文 回复 查看 活动
1
7月 25
2493
2
7月 25
7936
2
7月 25
4371
2
7月 25
4087
2
6月 25
2687