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

I have seen lots of examples on the internet mentioning a one2many field in xml like so:

<field name="my_field" widget="one2many_list">
<tree>
<field>....</field>
</tree>
</field>

I tried it and it does not seem to make any difference. Can someone tell me what it is used for?

الصورة الرمزية
إهمال

anything else related?

أفضل إجابة

It's just for backward compatibility, it's the same widget under the hood

الصورة الرمزية
إهمال
أفضل إجابة

My friend;

Here are some useful links:

http://dirtyhandsphp.blogspot.com/2014/07/openerp-customize-one2many-relational.html

http://stackoverflow.com/questions/31607934/odoo-one2many-default-not-set

Regards.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 21
3386
2
مايو 20
9305
1
أبريل 16
4483
3
يوليو 25
8807
1
مايو 25
1094