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.
It is quite simple. There is a rule in openerp that your each object should have one "name" field. If not you should define any field as your name field in "_rec_name".
_name = 'my.object'
_rec_name = 'my_field'
_rec_name: Name of the field in which the name of every resource is stored. Default value: ‘name’. Note: by default, the name_get method simply returns the content of this field.
In short, you just have to either define "name" field or "_rec_name" in your object.
See _rec_name for more information.
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: 9/16/14, 12:26 PM|
|Seen: 1421 times|
|Last updated: 3/16/15, 8:10 AM|