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:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
2834
Vistes
Hi,
You can use the registerClassPatchModel to override the functions and registerFieldPatchModel for updating fields
Regards
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
Override JS mail
Solved
|
|
3
de jul. 21
|
5148 | |
|
1
d’ag. 19
|
2929 | ||
|
1
de maig 23
|
2288 | ||
|
2
de maig 19
|
5235 | ||
|
2
d’abr. 19
|
3292 |