İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
18378 Görünümler

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?

Avatar
Vazgeç

anything else related?

En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eyl 21
3386
2
May 20
9309
1
Nis 16
4489
3
Tem 25
8843
1
May 25
1105