Odoo Help

2

Axel Mendoza

--Axel Mendoza--
12041
| 7 8 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.--
4575
| 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).

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

Question tools

1 follower(s)

Stats

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