تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2603 أدوات العرض

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


الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 22
3281
2
أغسطس 22
7610
1
يناير 25
9311
1
سبتمبر 21
6621
1
مارس 21
5391