Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
15557 Zobrazení

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
Zrušit

Use [att_id.id] instead of att_id.id

Related Posts Odpovědi Zobrazení Aktivita
2
kvě 24
1864
1
kvě 24
1303
2
kvě 24
1583
0
kvě 22
3419
0
led 22
2009