跳至內容
選單
此問題已被標幟
1 回覆
5852 瀏覽次數

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.

頭像
捨棄
最佳答案

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! :)

相關帖文 回覆 瀏覽次數 活動
6
9月 17
7867
1
3月 15
4173
2
3月 15
9688
1
3月 24
5108
5
2月 23
29192