Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2835 Переглядів
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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
січ. 24
1086
1
трав. 25
1240
1
квіт. 25
2563
1
квіт. 25
3305
1
квіт. 25
917