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
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
1
Svar
2995
Visninger
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!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
Override JS mail
Løst
|
|
3
jul. 21
|
5305 | |
|
1
aug. 19
|
3053 | ||
|
1
maj 23
|
2456 | ||
|
2
maj 19
|
5598 | ||
|
2
apr. 19
|
3467 |