콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4805 화면

Hello everybody;

May anyone help me know how can i create a new control create in the tree of a field one2many ?

Thanks a lot in advance.

Best regards.

아바타
취소
베스트 답변

Hi,

<control>
    <create string="Add Item" context="default_my_field: 'value'"/>
<control>

so when you Add Item it will set a default value to newly create a line. In odoo use of control is very limited (for add a section and note). basically it's used for display sale order line as section or note as per control-click.

아바타
취소
관련 게시물 답글 화면 활동
0
9월 20
37
1
9월 19
9002
1
7월 19
10763
1
3월 19
4574
1
7월 19
5897