Skip to Content
Menu
This question has been flagged
15543 Rodiniai

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 ?

Portretas
Atmesti

Use [att_id.id] instead of att_id.id

Related Posts Replies Rodiniai Veikla
2
geg. 24
1854
1
geg. 24
1284
2
geg. 24
1558
0
geg. 22
3405
0
saus. 22
2001