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

I was wondering how to extend a class which uses the new Owl framework in Odoo Version 15.



아바타
취소
베스트 답변

Hello Conor, what class do you want to extend ?
if you want to extend component it's simple, 

like this :

class ListView extends owl.Component {} // for extend to create ListView class

class MyFieldWidget extends  AbstractFieldOwl {} // for extend to create new field widget (need import this class  web.AbstractFieldOwl)

class MyWidget extends owl.Component {}  // for extend to create new tag widget such as week_days, etc.


check this out: https://codingdodo.com/tag/owl/ or https://www.odoo.com/documentation/15.0/developer/reference/frontend/owl_components.html

아바타
취소
관련 게시물 답글 화면 활동
1
12월 22
4348
0
1월 25
1054
0
9월 23
3034
1
5월 23
2276
2
5월 22
14301