Skip to Content
Menu
This question has been flagged
1 Atsakyti
2655 Rodiniai

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


Portretas
Atmesti
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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
lapkr. 22
3381
2
rugp. 22
7715
1
saus. 25
9393
1
rugs. 21
6716
1
kov. 21
5494