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
回覆
2989
瀏覽次數
Hi,
You can use the registerClassPatchModel to override the functions and registerFieldPatchModel for updating fields
Regards
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
Override JS mail
已解決
|
|
3
7月 21
|
5302 | |
|
1
8月 19
|
3048 | ||
|
1
5月 23
|
2454 | ||
|
2
5月 19
|
5591 | ||
|
2
4月 19
|
3464 |