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

I try to context.get field but but this field found in another object and I want Use it In Tree View. please help me how can I make this .

thank you so much .

الصورة الرمزية
إهمال

what does it mean context.get from another object? context isn't part of object

أفضل إجابة

Hi Mohammed.

try this:

inv_obj = self.pool.get('account.invoice')

for inv in inv_obj.browse(cr, uid, context.get('active_ids'), context=context):

-----

------

الصورة الرمزية
إهمال
الكاتب

thank you so much for your attention but I want this in tree view how can I make it

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 22
6749
4
مايو 22
34775
0
نوفمبر 17
6576
4
سبتمبر 17
25376
0
فبراير 16
5421