Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
18368 Zobrazení

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
Zrušit

anything else related?

Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 21
3386
2
kvě 20
9306
1
dub 16
4484
3
čvc 25
8823
1
kvě 25
1100