I was wondering how to extend a class which uses the new Owl framework in Odoo Version 15.
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
1
gru 22
|
6024 | ||
|
|
3
lis 25
|
5861 | ||
|
|
0
sty 25
|
3391 | ||
|
|
0
wrz 23
|
5591 | ||
|
|
1
maj 23
|
3999 |