diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-01-21 07:59:57 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-01-21 08:11:42 +0000 |
| commit | 0d6a796b57e4d1963f81f2276ef2778c9cece064 (patch) | |
| tree | 398d3bd87aa1873eac17109ed20c7946595140e6 /addons/website_partner | |
| parent | 3bf2faca5df562c9f429e023b90a77e53024d6c9 (diff) | |
[FIX] sale, crm: put the sales overview behind salesteam.manager group
If a user has no rights on sale, he should not see the sales menuitem
on the dashboard.
This is because the report_sales_team, which was set on a menu restricted
to managers, has been moved to a menu without groups.
We therefore set the group salesteam.manager directly on report_sales_team
to have the same rights as before.
Similarly, this same report is visible in the CRM app without manager rights,
so we put them explicitly on sales_team_menu_team_pipeline.
Also reverts commit 2cdc1cc9ced4364cac403fd0891836dba52bdd08 that put the groups
on the sales root menu.
It is unnecessary to do so, since when all submenus are hidden to a user,
then the app icon is automatically hidden to the user.
This practice allows customisations to put views accessible without any rights
on that specific app.
Since the sales.team manager has been put back on the correct dashboard,
this previous commit is now useless.
opw 1914373
closes odoo/odoo#30390
Diffstat (limited to 'addons/website_partner')
0 files changed, 0 insertions, 0 deletions
