Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3439 Zobrazení
x
Avatar
Zrušit
Autor

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"

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
led 24
1431
1
kvě 25
2421
1
dub 25
3441
1
dub 25
4263
1
dub 25
1749