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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
can't override a function
Diselesaikan
|
|
1
Jun 16
|
4736 | |
|
0
Mei 16
|
3360 | ||
override a method inheritance
Diselesaikan
|
|
2
Des 15
|
3482 | |
Is there a method to call to save a record manually?
Diselesaikan
|
|
3
Des 24
|
6447 | |
|
1
Agu 21
|
6583 |