renaming a menu

Asked by Bushair

Hi,
Can you please tell me how to rename a menu in OpenERP ?

For example i want to rename the menu Financial Management -> Configuration -> Analytical Accounting

menu to Financial Management -> Configuration -> Management Accounting

and also want to rename Financial Management -> Configuration -> Analytical Accounting ->Analytic Accounts to

Financial Management -> Configuration -> MAnagement Accounting -> Cost Centres

How can i achieve this ?

Thanks in advance

Bushair

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Bushair,

It seems that you are using version 5 or OpenERP.

If so, Go to the menu Administration/Security/Grant Access To Menus . Search your desired menu, change the name of that record.

If its version 6, Go to the menu Administration/Customization/User Interface/Menu Items and do the needful as per your need.

Hope it helps.

Thanks,
Serpent Consulting Services,
http://www.serpentcs.com

Revision history for this message
Bushair (bushairka) said :
#2

Thanks in Millions for the wonderful answer.

This solved my issue

Thanks
Bushair

Revision history for this message
Bushair (bushairka) said :
#3

Hi ,
After changing the menu , i have recompiled the source code for one change.

But i can not see the renamed menu after this. It is showing the old menu itself.

so i want to rename Financial Management -> Configuration -> Analytical Accounting ->Analytic Accounts to

Financial Management -> Configuration -> MAnagement Accounting -> Cost Centres permanently.

How can i acheive this?

Thanks

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#4

Bushair,

In OpenERP, you should normally work on modularity concept.

If you like to rename the menu, you should make a module which does it for you.

If you change anything from GUI; upgrading the module will fetch all view datas from xml files and hence all your changes will be gone.

Let me know if you need more help.

Regards,
Serpent Consulting Services.
http://www.serpentcs.com

Revision history for this message
Bushair (bushairka) said :
#5

Hi,
Thanks for the information.

But just for my testing my purpose ,how can i acheive the following ?without adding a new module.

Renaming of

Financial Management -> Configuration -> Analytical Accounting ->Analytic Accounts to

Financial Management -> Configuration -> MAnagement Accounting -> Cost Centres .

Which files i have to modify and which function ?

Thanks
Bushair

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#6

Bushair,

Go to the relevant module(account), find the menuitem and change the name.
This will surely help.

Regards,
Serpent Consulting Services.
http://www.serpentcs.com

Revision history for this message
Bushair (bushairka) said :
#7

So i have to change the menuitem in the .xml file. right?

no change in .py file is required for this ?

i really appreciate your immediate response

thanks
Bushair

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#8

Bushair,

Yes, you would need to change the name inside the xml file.

Regards,
Serpent Consulting Services.
http://www.serpentcs.com

Can you help with this problem?

Provide an answer of your own, or ask Bushair for more information if necessary.

To post a message you must log in.