x
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
3402
Vistas
x
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
ene 24
|
1418 | ||
|
1
may 25
|
2348 | ||
|
1
abr 25
|
3381 | ||
|
1
abr 25
|
4189 | ||
|
1
abr 25
|
1693 |
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"