Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3939 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
лист. 23
3724
2
вер. 16
9154
1
бер. 15
7256
1
бер. 15
6282
2
бер. 24
1923