I was wondering how to extend a class which uses the new Owl framework in Odoo Version 15.
This question has been flagged
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
1
Dec 22
|
6024 | ||
|
|
3
Nov 25
|
5854 | ||
|
|
0
Jan 25
|
3390 | ||
|
|
0
Sep 23
|
5586 | ||
|
|
1
May 23
|
3998 |