Skip to Content
Menu
This question has been flagged
2 Replies
5262 Zobrazenia

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


Avatar
Zrušiť

no, it's not implemented in V10

Best Answer

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>


Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
júl 25
4634
2
dec 24
7775
2
nov 24
28548
2
sep 24
1137
2
máj 24
7484