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!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
can't override a function
Çözüldü
|
|
1
Haz 16
|
4791 | |
|
0
May 16
|
3405 | ||
override a method inheritance
Çözüldü
|
|
2
Ara 15
|
3482 | |
|
3
Ara 24
|
6519 | ||
|
1
Ağu 21
|
6634 |