Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3414 Weergaven
x
Avatar
Annuleer
Auteur

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"

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jan. 24
1424
1
mei 25
2383
1
apr. 25
3418
1
apr. 25
4223
1
apr. 25
1729