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
- Project
- 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
ديسمبر 22
|
4175 | ||
|
0
يناير 25
|
902 | ||
|
0
سبتمبر 23
|
2845 | ||
|
1
مايو 23
|
2171 | ||
|
2
مايو 22
|
14119 |