Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
13 ตอบกลับ
5442 มุมมอง

HI,

I'v install a module, Name Management System. I'm trying to rename the top menu 'Management System' To 'Management' but its not changing. 

I've tried change from here:

<menuitem

id="menu_mgmtsystem_root"

name="Management"

sequence="150"

groups="mgmtsystem.group_mgmtsystem_manager,base.group_user"

web_icon="images/mgmtsystem.png"

web_icon_hover="images/mgmtsystem-hover.png"

/>

<menuitem

id="menu_mgmtsystem_main"

name="Management"

parent="menu_mgmtsystem_root"

sequence="0"

groups="base.group_user"/>

but not changing.

Even I tried to change from UI but and here same situation.

but others moduls are changing. 

what type of problem is it, ive no idea.I hope somebody will help me.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I got the Solution.

In "System Management" module if i want to change top menu name or sub menu name so the change has to be done on the translation file. We can get the file from i18n folder and have to change *.po file.

อวตาร
ละทิ้ง
ผู้เขียน

Thank you Mehta for your response and Thank you so much Akhil Sivan for help me to find out the solution.

คำตอบที่ดีที่สุด

Hello Nahian,


Try this:-


<menuitem

id="module_name.menu_mgmtsystem_root"

name="Management"

sequence="150"

groups="mgmtsystem.group_mgmtsystem_manager,base.group_user"

web_icon="images/mgmtsystem.png"

web_icon_hover="images/mgmtsystem-hover.png"

/>


<menuitem

id="module_name.menu_mgmtsystem_main"

name="Management"

parent="menu_mgmtsystem_root"

sequence="0"

groups="base.group_user"/>


For override any menu name, Please give id as module_name + menu_id.

Hope it works for you.

Thanks,

อวตาร
ละทิ้ง
ผู้เขียน

Hi, Mehta Thank you for your response. Still now in UI not getting any change but in database table menu name is changing. what should I do.

did you upgrade modules ?

ผู้เขียน

yes ... i restarted server and updated modules.

Above same way, i did it in my local for Discuss Menu and it working fine.

ผู้เขียน

Hi Mehta, yes It works for others menu but only Management System menu is not changing in my odoo :( .Could you please try for once for Management System menu.

Management System Menu is customize ?

Try after remove sequence

ผู้เขียน

yes customize menu

So how can i try for the same.

ผู้เขียน

I downloaded it from [ apps.openerp.com/apps/modules/8.0/mgmtsystem/ ] and then customize something. if you have time can you please try form me.

ผู้เขียน

I downloaded it from [ apps.openerp.com/apps/modules/8.0/mgmtsystem/ ] and then customize something. if you have time can you please try for me.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 24
1834
4
พ.ย. 23
5874
0
ต.ค. 23
1676
0
ธ.ค. 22
2560
2
ธ.ค. 23
19247