コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2829 ビュー
x
アバター
破棄
著作者

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"

最善の回答

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
1076
1
5月 25
1214
1
4月 25
2544
1
4月 25
3266
1
4月 25
908