Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2659 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
nov. 22
3381
2
aug. 22
7718
1
jan. 25
9397
1
sep. 21
6719
1
mar. 21
5499