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.

0

Writing module for customizing menus

By
Raffaele
on 11/24/14, 9:51 AM 375 views

Hallo, could anyone please point me in the direction for writing a module with customizations to the menu structure like: 

  • adding new menu items (top-level too)
  • translating single menu items (without recurring to classic translation methods)
  • change groups assigments

In a very rough example, it could be a replacement for menu "Sales": 

  1. "My Sales" that inherits "Sales"
    • "CRM" instead of "Sales", and visible to managers only
      • "Clients" instead of "Customers"
  2. Hide "Sales" menu

Thanks in advance

1

Bole

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole
On 11/26/14, 3:31 AM

Simply open sale_view.xml in sale module, look for all <menuitem ... lines

Write your own module containig xml file wich defines new menuitems...
Top level items has no parent_id , everything else is simple copy/paste /modify to your needs...

thank you

Raffaele
on 11/26/14, 4:52 AM

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

2 follower(s)

Stats

Asked: 11/24/14, 9:51 AM
Seen: 375 times
Last updated: 3/16/15, 8:10 AM