Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
15515 Представления

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

Related Posts Ответы Просмотры Активность
2
мая 24
1825
1
мая 24
1273
2
мая 24
1553
0
мая 22
3368
0
янв. 22
1991