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

Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option

아바타
취소
베스트 답변

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

Ex.
<field name="m2o_field" options="{'no_create_edit': True}"/>


아바타
취소

in question it is mentioned that it is js/python

관련 게시물 답글 화면 활동
1
10월 19
6119
1
10월 21
4367
2
10월 20
4220
3
5월 20
5430
0
7월 19
2984