Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3716 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
nov. 23
3395
2
sep. 16
8926
1
mrt. 15
7030
1
mrt. 15
6113
2
mrt. 24
1708