تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3410 أدوات العرض
x
الصورة الرمزية
إهمال
الكاتب

I was not able to post a piece of xml code in this Forum.
I do not think this is a good way to support developers.

Hi, 

Hope this reference will help you. 

as far as i know, there isn't any widget called one2many_list in Odoo.
There is onyl widget="one2many"

أفضل إجابة

Hi,

The widget=”one2many_list” is used when we want to view a field as one2many.

In python file

account_ids = fields.One2many('account.fiscal.position.account', 'position_id', string='Account Mapping')

In XML

<field name="account_ids"  widget="one2many_list">
<tree string="Values">
<field name="name"/>
</tree>
</field>

Regards

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يناير 24
1424
1
مايو 25
2379
1
أبريل 25
3415
1
أبريل 25
4215
1
أبريل 25
1725