Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3437 Widoki
x
Awatar
Odrzuć
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"

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sty 24
1431
1
maj 25
2421
1
kwi 25
3441
1
kwi 25
4262
1
kwi 25
1749