Odoo Help

0

Writing module for customizing menus

By
Raffaele
on 11/24/14, 9:51 AM 541 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--
2435
| 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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

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