تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5242 أدوات العرض

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>


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 25
4599
2
ديسمبر 24
7759
2
نوفمبر 24
28516
2
سبتمبر 24
1126
2
مايو 24
7468