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.
Willie, if I understand you correctly you want to understand where the Value that is used for many2one field is taken from.
Technically it is taken from an ORM method called _name_get which will return a list of tuple pairs containing the database ID and the value to display. Now, if you don't change anything on the _name_get method, the default is that it will display whatever is in the column named "name" or (if any) column specified in the _rec_name attribute of the ORM.
Hope this help.
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/20/14, 4:19 AM|
|Seen: 617 times|
|Last updated: 3/16/15, 8:10 AM|