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

I'm only trying to change the name of a top menu option, so I'm trying to change a menuitem.

For this, I created a new module and I'm doing the following:

For changing menu option name "Sales" (crm):

<record model="ir.ui.menu" id="base.menu_base_partner">
    <field name="name">My New Menu Name for Sales</field>
</record>

For changing menu option name "Human Resources" (hr):

<record model="ir.ui.menu" id="hr.menu_hr_root">
    <field name="name">My New Menu Name for HR</field>
</record>

I check on the database and the changes are being made. Those menus have now the names I assigned to them.

However, I can't see them on the browser, although I restarted the OpenERP service. Even I created a new database and installed my module form zero, but still nothing.

Does anyone know why?

Ảnh đại diện
Huỷ bỏ

please check language translation files....

Câu trả lời hay nhất

Try to Synchronize Terms for the actual Language under Settings --> Translations --> Application Terms

Ảnh đại diện
Huỷ bỏ
Tác giả

That was the problem. Thank you so much!