Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5250 Lượt xem

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


Ảnh đại diện
Huỷ bỏ

no, it's not implemented in V10

Câu trả lời hay nhất

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>


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 25
4617
2
thg 12 24
7769
2
thg 11 24
28531
2
thg 9 24
1131
2
thg 5 24
7477