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

I want to track one field but it doesn't work. i have tried both track_visibility = 'onchange'

and tracking = True but don't work. what i can do for that? i have searched many many times but i can't find solution


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

HI, 

Try to inherit "mail.thread" Model in your model. Try to add  _inherit = ['mail.thread'] line after your model description.   

Just like this:

class YourCustomModel(models.Model):
    _name = 'your.custom.model.name'
     _inherit = ['mail.thread']
    _description = 'Your Custom Model'

Hope it will help you.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Hide menu for all except specific group แก้ไขแล้ว
1
พ.ย. 22
3394
Live tracking in odoo. แก้ไขแล้ว
2
ส.ค. 22
7741
1
ม.ค. 25
9411
1
ก.ย. 21
6731
1
มี.ค. 21
5515