تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2880 أدوات العرض
Hello,
I'm trying to retrieve partners records through external API; however the selection fields return only the option id not the label, how can i get the labels instead?

sample code, where partner_type, pharmacy_type and partner_sector are selection fields:

result = models.execute_kw(config.db, uid, config.pwd, 'res.partner', 'search_read',
[[]], {'fields': ['id',
'active',
'display_name',
'distributor_code',
'city',
'partner_type',
'pharmacy_type',
'partner_sector',
'assigned_ids', 'company_id'


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 25
193
1
يونيو 25
1876
1
يوليو 25
864
1
أبريل 25
1528
2
يناير 25
1701