x
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
2838
Представления
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
2
янв. 24
|
1086 | ||
|
1
мая 25
|
1247 | ||
|
1
апр. 25
|
2566 | ||
|
1
апр. 25
|
3312 | ||
|
1
апр. 25
|
918 |
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"