I was wondering how to extend a class which uses the new Owl framework in Odoo Version 15.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
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
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
12月 22
|
5157 | ||
|
|
3
11月 25
|
4395 | ||
|
|
0
1月 25
|
1951 | ||
|
|
0
9月 23
|
3919 | ||
|
|
1
5月 23
|
3053 |