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 ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 ?
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
2
mai. 24
|
2294 | |||
|
1
mai. 24
|
1896 | |||
|
2
mai. 24
|
2142 | |||
|
0
mai. 22
|
3908 | |||
|
0
jan. 22
|
2481 |
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