Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2615 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
nov. 22
3289
2
août 22
7613
1
janv. 25
9317
1
sept. 21
6623
1
mars 21
5398