Skip to Content
मेन्यू
This question has been flagged

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
Discard
Related Posts Replies Views Activity
4
नव॰ 23
3333
2
सित॰ 16
8884
1
मार्च 15
6967
1
मार्च 15
6073
2
मार्च 24
1671