Odoo Help

Welcome!

This community 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.

0

Axel Mendoza

--Axel Mendoza--
10318
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 5/13/16, 6:47 AM

Hi MouBou

_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'

Or on models where you want to show another value by default than the name. Accepted the answer. :)

Yenthe
on 5/13/16, 8:36 AM

It is a unique recognizer for your relational table's record(mainly M2O), mandatory for tables where there is no 'name' field, and functionally important when you want a special pattern to recognise your record (like Product, Address, Full name).

Serpent Consulting Services Pvt. Ltd.
on 5/14/16, 6:27 AM
0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 5/14/16, 6:28 AM

It is a unique recognizer for your relational table's record(mainly M2O), mandatory for tables where there is no 'name' field, and functionally important when you want a special pattern to recognise your record (like Product, Address, Full name).

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/13/16, 6:01 AM
Seen: 906 times
Last updated: 5/14/16, 6:28 AM