Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4105 Vizualizări

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
4
nov. 23
4009
2
sept. 16
9376
1
mar. 15
7530
1
mar. 15
6512
2
mar. 24
2169