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.
My goal is to achieve different behavior with many2one fields, consisting of two parts:
- Display a join of 2 fields ("name" field and another char field) as a name in view fields of many2one relations;
- To search by join of those 2 fields in view fields of many2one relations;
1. I have achieved by changing name_get() method, but how to achieve 2.?
Search is only available by "name" field. If there was a way to enable many2one search by other than "name" field, then searching by a functional field, which joins those 2 fields, would do great.
How to search on many2one field by other than "name" field?
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: 10/2/13, 5:35 AM|
|Seen: 4147 times|
|Last updated: 3/16/15, 8:10 AM|