x
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
3413
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
1月 24
|
1424 | ||
|
1
5月 25
|
2383 | ||
|
1
4月 25
|
3417 | ||
|
1
4月 25
|
4223 | ||
|
1
4月 25
|
1729 |
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"