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

Change title of automatically generated form view

By
Shaumyadeep Chaudhuri
on 8/30/13, 5:36 AM 2,631 views

Hi, I want to change the title of form view in the grey area that is automatically generated like a wizard when i click on a one2many field. Is it possible to do that?

2

AJ Schrafel Paper Corp

--AJ Schrafel Paper Corp--
2050
| 4 5 8
Bronx, United States
--AJ Schrafel Paper Corp--

Exploring OpenERP for business

AJ Schrafel Paper Corp
On 8/30/13, 4:46 PM

Yes, you have to edit the XML for the action. Activate developer mode by going to help > About openERP > click active developer mode.

That will let you see the developer information. Then click edit action, and change the name of the action to what you want.

This will be over written when you update you database.

To do it properly you will have to inherit the XML view in a custom module and change the name in the <field name="name"></field> tag.

<record id="action_partner_form" model="ir.actions.act_window">
            <field name="name">Customers</field> <-- edit this to edit the name
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.partner</field>
            <field name="view_type">form</field>
            <field name="view_mode">kanban,tree,form</field>
            <field name="context">{"search_default_customer":1}</field>
            <field name="search_view_id" ref="view_res_partner_filter"/>
            <field name="help" type="html">
              <p class="oe_view_nocontent_create">
                Click to add a contact in your address book.
              </p><p>
                OpenERP helps you easily track all activities related to
                a customer; discussions, history of business opportunities,
                documents, etc.
              </p>
            </field>

I know i have to edit the xml but i don't know what tag or attribute i have to put in the xml. Please mention that

Shaumyadeep Chaudhuri
on 8/30/13, 5:25 PM

updated answer

AJ Schrafel Paper Corp
on 8/30/13, 5:47 PM

Mark i as answered,,it works for me

Alloice Lagat
on 9/9/13, 10:13 AM

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: 8/30/13, 5:36 AM
Seen: 2631 times
Last updated: 3/16/15, 8:10 AM