Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
9237 Zobrazení

 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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

This will helpful:

 
 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
úno 25
2665
1
srp 24
2226
2
lis 24
3358
3
říj 23
14893
2
úno 23
2503