Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6174 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>
Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks for your help! :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 9 17
8353
1
thg 3 15
4518
2
thg 3 15
10012
1
thg 3 24
6779
5
thg 2 23
29595