This question has been flagged
2 Replies
7505 Views

 I want to create a new user group called Market Managers thats displays default odoo menus . for example the structure is :

--->Market Managers (base menu)

->customer invoice(from accounting tab)

->customer refund (from accounting tab)

->products(from sales tab) 

->customer


So far i have attempted to create a new menu that is only set that to the new group, However the process i have taken to achieve this is very long . I have had to inherit a lot of modules and copy a lot of xml from existing views , which leads to me receiving a lot access errors  .  

Is there a way a of creating new menu through python which displays menus such as customers and products but can only be seen if you assigned to a new group ?

Avatar
Discard
Best Answer

Hi Erhuvwu, you don't need to do anything in the backend, just follow these steps in the webclient:

1.Create a new group,

select Setting>>Users>>Groups, click 'create',

entering the Name field(e.g. New Group),

in the Users tab, add Users,

in the Views tab, add Views,

in the Access Rights tab, add objects;

2.Create a Top Menu,

select Settings>>Technical>>Interface>>Menu Items, click 'create',

entering the Menu field(e.g. New Top Menu),

in the Groups tab, add Groups(e.g. New Group);

3.Create Main Menus(e.g. New Main Menu) under Top Menu,

select Settings>>Technical>>Interface>>Menu Items, click 'create',

entering the Menu field(e.g. New Main Menu),

choose Parent Menu(e.g. New Top Menu);

4.Create Menus(e.g. Customers) under New Main Menu,

select Settings>>Technical>>Interface>>Menu Items, click 'create',

entering the Menu field (e.g. Customers),

choose Parent Menu(e.g. New Main Menu),

choose action(e.g. ir.actions.act_window => Customers).

(Done)


Avatar
Discard
Best Answer

This will helpful:

 
 

Avatar
Discard