Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2758 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
can't override a function แก้ไขแล้ว
1
มิ.ย. 16
4944
0
พ.ค. 16
3539
override a method inheritance แก้ไขแล้ว
2
ธ.ค. 15
3482
3
ธ.ค. 24
6748
1
ส.ค. 21
6793