Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1449 มุมมอง

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
2505
2
ก.ค. 25
7945
2
ก.ค. 25
4384
2
ก.ค. 25
4093
2
มิ.ย. 25
2691