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

hello guys i have a model A and B

in model A have relation one2many to model B, in model B we have field active, but everytime field active in model B is false, it will not displayed in one2many field in model A, can you tell me how to show it, i want to show all record even if they active or not

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

Hi,

You can get it by passing active_test False in the context,

'active_test': False

Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يناير 22
18490
3
يوليو 19
5402
4
نوفمبر 20
7867
1
أغسطس 20
3903
0
نوفمبر 18
2498