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 ?
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
2
maj 24
|
2958 | |||
|
1
maj 24
|
2668 | |||
|
2
maj 24
|
2886 | |||
|
0
maj 22
|
4971 | |||
|
0
jan. 22
|
3142 |
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