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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/20/14, 4:19 AM|
|Seen: 527 times|
|Last updated: 3/16/15, 8:10 AM|