Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
7938 Vistas

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



Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 22
4175
0
ene 25
901
0
sept 23
2843
1
may 23
2170
2
may 22
14110