İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2646 Görünümler

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


Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 22
3358
2
Ağu 22
7693
1
Oca 25
9385
1
Eyl 21
6695
1
Mar 21
5465