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 ?
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
2
Mai 24
|
2305 | |||
|
1
Mai 24
|
1920 | |||
|
2
Mai 24
|
2158 | |||
|
0
Mai 22
|
3944 | |||
|
0
Jan. 22
|
2499 |
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