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 ?
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 ?
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
2
de maig 24
|
2899 | |||
|
1
de maig 24
|
2597 | |||
|
2
de maig 24
|
2821 | |||
|
0
de maig 22
|
4877 | |||
|
0
de gen. 22
|
3089 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Use [att_id.id] instead of att_id.id