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 ?
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
Attribute 'required' does not work in an o2m field
Diselesaikan
|
2
Mei 24
|
2834 | ||
|
1
Mei 24
|
2580 | |||
|
2
Mei 24
|
2753 | |||
|
0
Mei 22
|
4808 | |||
|
0
Jan 22
|
3046 |
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