Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
7958 Zobrazení

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



Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 22
4203
0
led 25
918
0
zář 23
2863
1
kvě 23
2184
2
kvě 22
14156