I was wondering how to extend a class which uses the new Owl framework in Odoo Version 15.
Această întrebare a fost marcată
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
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
1
dec. 22
|
6102 | ||
|
|
3
nov. 25
|
5954 | ||
|
|
0
ian. 25
|
3595 | ||
|
|
0
sept. 23
|
5693 | ||
|
|
1
mai 23
|
4075 |