تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
6 الردود
8117 أدوات العرض

I added a menu in Accounting tab, I don't want to show it to the Sales group, how can I do it?

الصورة الرمزية
إهمال
أفضل إجابة

Asssign groups="group_id" in menu for view that perticular group or assign multiple groups seprated by comma.


الصورة الرمزية
إهمال
الكاتب

Thanks! :)

أفضل إجابة

Hi Samantha,


If you added a menu in "Accounting" main menu then the Group which has right to access "Accounting" Menu only those will access your menu too.

If sales group will not have access right for accessing the "Accounting" menu then they cannot access your added menu too.


Regards,

Hardik

الصورة الرمزية
إهمال
الكاتب

Thanks! :)

أفضل إجابة

 Hi Samantha Cruz,

W.r.t your query,I had gone through it and tried to replicate it. Few recommendation which I would like to suggest you which would cater to your query are as follows :-

1) As you a had added a menu to the Accounting tab, but don't want to show it to the Sales group. Hence after adding the menu to the Accounting tab, first thing you need to do is that remove the users(if added) from the Accounting menu created. This can be done by following Setting>Users>Groups

2) The reason behind removing this is that, in Odoo we only add users or groups to any menu if we want to make it visible for them along with access rights. I f we don't want to make any menu visible to any users or groups then we never add them to any menu

For e.g., If 5 users belongs to the group “Sales Managers” and we have added a new menu “i.e. Loans” to Accounting Tab. But we want to hide that menu for them. Hence we will not add these users or the group to the new Accounting menu. As such the menu can be hidden from them

Hope this helps.

Cheers!!

الصورة الرمزية
إهمال
الكاتب

Thank you for this Sir :)

أفضل إجابة

Just assign it to the groups that you wanna enable to see it and left the particular sales group out of the list

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 19
3199
0
أغسطس 16
3574
2
مايو 24
2058
3
يناير 24
8574
0
يناير 24
7