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

Hello,

I'm looking to add many2one field called  "hr.institute" but I couln't find any specific place to add this, So can anyone help me, Thankx.

아바타
취소
베스트 답변

Madura,

You should first design a model(class) with its _columns. Only then, The class/model will be used as a many2one.

In your case, you should make sure to have hr.institude defined first. Later on, your new class can have many2one in this fashion:

'institute_id': fields.many2one('hr.institute', 'Institute')

Thanks.

아바타
취소

Hello, Thank You for thew help. but I couldn't find the place where I need to add this call, So could You please help me to achieve this? Thank You.

You should add in your module!

관련 게시물 답글 화면 활동
2
4월 24
7121
2
3월 24
1740
2
8월 23
2615
1
7월 19
19810
1
11월 16
8503