İçereği Atla
Menü
Bu soru işaretlendi
3833 Görünümler

Hi All,

Hope everyone is good. I need to add a new field in product search such as description or color. So i have modified name_search function as like below in product.py

if not ids: ids = self.search(cr, user, [('color','=',name)] + args, limit=limit, context=context)

after the following line:

if not ids: ids = self.search(cr, user, [('ean13','=',name)]+ args, limit=limit, context=context)

But its not working. Pls help on this.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Kas 23
3544
2
Eyl 16
9034
1
Mar 15
7089
1
Mar 15
6190
2
Mar 24
1773