_rec_name is intended to define the record value used to display it in search for many2one and others cases. By default it is assumed by convention that you have a field named 'name' in your model. This is used in methods like name_get and name_search of the ORM.
You usually define it on models that do not contains a field named 'name'
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: 5/13/16, 6:01 AM|
|Seen: 906 times|
|Last updated: 5/14/16, 6:28 AM|