Odoo Help


custom title of form view for custom module

on 9/16/14, 12:26 PM 1,521 views


I have created a new module and for some reason i am unable to change the form title as shown in the figure Screenshot.

Can anyone help me with this?


Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
On 9/16/14, 1:27 PM

Hello Zadeek,

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".


class mail_alias(osv.Model):
    _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.

thanks that helped but if i wanted a string like in salesorder so001 how can i acheive that..

on 9/17/14, 12:32 AM

Here is your answer to generate sequence: www.odoo.com/forum/help-1/question/how-to-implement-sequences-8830.

Sudhir Arya (ERP Harbor Consulting Services)
on 9/17/14, 12:55 AM

Thanks that helped a lot.

on 9/17/14, 1:41 AM

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.


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

2 follower(s)


Asked: 9/16/14, 12:26 PM
Seen: 1521 times
Last updated: 3/16/15, 8:10 AM