Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to modify UserMenu?

By
FRACHT FWO CZECH
on 6/19/13, 9:20 PM 2,757 views

What is the "official" approach to change the UserMenu items, this is the top right menu with the Preferences and Logout items. Is there another way than editing /openerp/addons/web/static/src/xml/base.xml - atm I just html-comment the items I do not want to have there in the base.xml, but of course this is a hack - I did not find a way to edit this UserMenu via Settings -> Technical -> User Interface -> Menu Items.

How to modify this UserMenu?

Thanks for your attention!

-2

Ghanshyam Prajapati

--Ghanshyam Prajapati--
1377
| 4 4 8
Pune, India
--Ghanshyam Prajapati--
OpenERP Developer
Ghanshyam Prajapati
On 6/20/13, 2:57 AM

Hi,

  • You must have to make custom module.

  • Put account module in dependency of your custom module in __init__.py

  • Create xml file and do as per following,

Suppose you want to replace Invoicing menu with your custom menu Accounting,

Original

<menuitem name="Invoicing"
            id="menu_finance"
            groups="group_account_user,group_account_manager,group_account_invoice"
            sequence="50"/>

Modified

<menuitem name="Accounting"
            id="account.menu_finance"
            />

- See helpful Links,

How to create OpenERP Module

OpenERP Complete guide for Module Development and Installation

Thank you very much, I will take a look at it soon!

FRACHT FWO CZECH
on 6/20/13, 12:56 PM

I can't see how this edits the UserMenu-items in the systray.

Anders Wallenquist
on 8/28/14, 4:22 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/19/13, 9:20 PM
Seen: 2757 times
Last updated: 3/16/15, 8:10 AM