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

How to How to implement abstract model  in odoo 12 and what are the uses  of abstract model.

please explain with an example


thanks in advance

아바타
취소
베스트 답변

Hello,

Abstract is a generic model that implements some feature that can then be inherited by regular models in order to make that feature available in them.
So if you want to test abstract model you need to inherit this inside regular model(models.model).
For reference you can look for mail.thread inherit into sale.order. and based on that you can use/call method of the
mail.thread object.

아바타
취소
관련 게시물 답글 화면 활동
1
12월 22
8193
2
11월 16
3618
3
2월 20
9958
3
12월 19
6010
1
11월 24
1610