跳至內容
選單
此問題已被標幟
1 回覆
1440 瀏覽次數

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
2481
2
7月 25
7924
2
7月 25
4354
2
7月 25
4083
2
6月 25
2677