Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/22/13, 8:36 AM|
|Seen: 1494 times|
|Last updated: 3/16/15, 8:10 AM|