Hi guys, I want to modify some logic on the website.track model and I have some doubts.
Does anyone know how to override properly the _add_tracking method?
I am searching on internet but I dont get answers.
Any help is apreciated :)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi guys, I want to modify some logic on the website.track model and I have some doubts.
Does anyone know how to override properly the _add_tracking method?
I am searching on internet but I dont get answers.
Any help is apreciated :)
Hello Andrés Carles,
I hope you are doing well.
Find Example in comment.
I hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
---- Py Side Code ----
- def _add_tracking(self, domain, website_track_values):
res = super((Your Class Name), self)._add_tracking()
<<<<Enter Your Code Here>>>>
return res
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
can't override a function
Solved
|
|
1
Jun 16
|
3282 | |
|
0
May 16
|
2402 | ||
|
2
Dec 15
|
3482 | ||
|
3
Aug 23
|
3953 | ||
|
1
Aug 21
|
5321 |