Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
7952 Tampilan

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



Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 22
4187
0
Jan 25
910
0
Sep 23
2849
1
Mei 23
2177
2
Mei 22
14145