Skip to Content
मेन्यू
This question has been flagged
1 Reply
2629 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
नव॰ 22
3330
2
अग॰ 22
7669
1
जन॰ 25
9360
1
सित॰ 21
6678
1
मार्च 21
5433