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

Hello All,


I want to create new section in One2many of version 10.0

In version 13.0 have two more option like ( Add a section, Add a note ) in One2many.

How it's possible to odoo 10.0 ?

Thanks in advance


อวตาร
ละทิ้ง

no, it's not implemented in V10

คำตอบที่ดีที่สุด

Hello , 

You can implement the code below:


<field name="One2manyfield">
<tree>
<control>
<create name="add_product_control" string="Add a product"/>
<create name="add_section_control" string="Add a section" />
<create name="add_note_control" string="Add a note" />
</control>

<field name="name"/>

</tree>
</field>


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
4595
2
ธ.ค. 24
7755
How to ORDER BY? [Odoo 10] แก้ไขแล้ว
2
พ.ย. 24
28514
odoo exam certificate control แก้ไขแล้ว
2
ก.ย. 24
1124
2
พ.ค. 24
7468