Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3918 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
4
nov. 23
3703
2
sep. 16
9142
1
mar. 15
7228
1
mar. 15
6267
2
mar. 24
1896