콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3739 화면
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

아바타
취소

But where is the widget "one2many_list" defined??
I can't find any definition in the code and the browser console tells me "Missing widget"

@Klaus-Dieter Gundermann: Highlighted Ibrahim Boudmir's comment to become an answer. one2many_list just isn't a thing hence you get that error.

관련 게시물 답글 화면 활동
2
1월 24
1567
3
8월 25
2644
1
5월 25
2664
1
4월 25
3660
1
4월 25
4515