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

i have attribute id

i want to search product by attribute id

product = self.env['product.template'].search([('attribute_ids', 'in', att_id.id)], limit=1)

attibute_ids im using way what will be correct ?

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

Use [att_id.id] instead of att_id.id

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مايو 24
1687
1
مايو 24
1079
2
مايو 24
1354
0
مايو 22
3193
0
يناير 22
1854