Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2627 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 22
3322
2
srp 22
7664
1
led 25
9348
1
zář 21
6666
1
bře 21
5427