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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
2520
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Override JS mail
Solved
|
|
3
Jul 21
|
4847 | |
|
1
Aug 19
|
2716 | ||
|
1
May 23
|
1983 | ||
|
2
May 19
|
4874 | ||
|
2
Apr 19
|
3041 |