Skip to Content
मेन्यू
This question has been flagged
15450 Views

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 ?

Avatar
Discard

Use [att_id.id] instead of att_id.id

Related Posts Replies Views Activity
2
मई 24
1761
1
मई 24
1206
2
मई 24
1456
0
मई 22
3274
0
जन॰ 22
1940