I want to override the class Activity in activity js file (mail module):
function factory(dependencies){
class Activity extends dependencies ['mail.model']{
....
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
2963
查看
Hi,
You can use the registerClassPatchModel to override the functions and registerFieldPatchModel for updating fields
Regards
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
Override JS mail
已解决
|
|
3
7月 21
|
5262 | |
|
1
8月 19
|
3017 | ||
|
1
5月 23
|
2417 | ||
|
2
5月 19
|
5537 | ||
|
2
4月 19
|
3444 |