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
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
can't override a function
Risolto
|
|
1
giu 16
|
4830 | |
|
0
mag 16
|
3428 | ||
override a method inheritance
Risolto
|
|
2
dic 15
|
3482 | |
|
3
dic 24
|
6565 | ||
|
1
ago 21
|
6683 |