Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3442 Visualizações
x
Avatar
Cancelar
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"

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jan. 24
1432
1
mai. 25
2433
1
abr. 25
3451
1
abr. 25
4272
1
abr. 25
1754