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

How do I change default text from a module view?

By
Cesar Gutierrez
on 11/20/13, 10:06 PM 899 views

I'm customizing an OpenERP 7.0, but I want to change the text that appears when I open a module. For example, when I open the Sales module to see the clients section, I have a text like this: "Click to add a contact in the address book.

OpenERP helps you manage all customer-related activities: discussions, business opportunities history, documents, etc.."

How can I change this?

I have tried modifying xml files from views and uploading the module, but I have no changes applied.

1
Timo Talvitie
On 11/21/13, 9:05 AM

Search the addons folder for the text you want to change and make note of the <record>s the text appears in. Then you can override the help field of all those records in your own module.

For example, the default text in Sales module is defined inside the base module, and it can be overridden with the following XML:

    <record id="base.action_partner_form" model="ir.actions.act_window">
        <field name="help" type="html">
          <p class="oe_view_nocontent_create">
            Some text that goes next to the arrow icon.
          </p><p>
            Some more text
          </p>            
        </field>
    </record>

Thanks for your help! :)

Cesar Gutierrez
on 11/21/13, 1:24 PM

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: 11/20/13, 10:06 PM
Seen: 899 times
Last updated: 3/16/15, 8:10 AM