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
ตอบกลับ
2978
มุมมอง
Hi,
You can use the registerClassPatchModel to override the functions and registerFieldPatchModel for updating fields
Regards
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
Override JS mail
แก้ไขแล้ว
|
|
3
ก.ค. 21
|
5298 | |
|
1
ส.ค. 19
|
3033 | ||
|
1
พ.ค. 23
|
2448 | ||
|
2
พ.ค. 19
|
5586 | ||
|
2
เม.ย. 19
|
3458 |