Files
odoo_source/addons/crm/security/ir.model.access.csv
T
Yannick Tivisse 9e57185449 [IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose:
Having the res_group defined in base and sales_team auto installed
with mail doens't make sense.

- Move the empty res_config class and the related view from
  base_setup to sales_team (base_setup only contains the 'General Settings'
  model and views
- Move the 'sale' related content from product to sale module (Access rights,
  menuitems,...)
- Set sales_team at autoinstall False. The module is installed when needed by
  crm or sale for example
- Set sales_team as a dependency of voip. (Access rights defined for configuration
  purpose)
- Set sales_team ad a dependency of subscription (Access rights issue too)

[FIX] account: move some ir.model.access to sale module
[FIX] payment: Move some ir.rule to website_sale
[FIX] stock: move some ir.model.access rule to sale_stock
[FIX] project: Move some ir.model.access rules to crm_project_issue
[FIX] mrp: Move some ir.model.access rules to sale_mrp
[FIX] calendar: move some ir.model.access rules to crm

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.

[ADD] sales_team: See own documents => See only his sales team
Moved the "User: Own Leads Only", "User: All Leads" and "Manager" groups from sale and crm
into sales_team module. Add the record rules so that user can see only his Own Sales Team
if "See Own Leads" is sales right and can see all sales teams if he is having sales rights
of "See All Leads" or manager.
2016-06-09 16:05:25 +02:00

3.1 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_crm_lead_managercrm.lead.managermodel_crm_leadsales_team.group_sale_manager1111
3access_crm_leadcrm.leadmodel_crm_leadsales_team.group_sale_salesman1110
4access_crm_stagecrm.stagemodel_crm_stage1000
5access_crm_stage_managercrm.stagemodel_crm_stagesales_team.group_sale_manager1111
6access_crm_opportunity_report_usercrm.opportunity.reportmodel_crm_opportunity_reportsales_team.group_sale_salesman1000
7access_crm_opportunity_report_managercrm.opportunity.reportmodel_crm_opportunity_reportsales_team.group_sale_manager1111
8access_res_partner_managerres.partner.crm.managerbase.model_res_partnersales_team.group_sale_manager1000
9access_res_partner_category_managerres.partner.category.crm.managerbase.model_res_partner_categorysales_team.group_sale_manager1000
10access_res_partnerres.partner.crm.userbase.model_res_partnersales_team.group_sale_salesman1110
11access_res_partner_categoryres.partner.category.crm.userbase.model_res_partner_categorysales_team.group_sale_salesman1110
12mail_mailgate_threadmail.threadmail.model_mail_threadsales_team.group_sale_salesman1111
13access_base_action_rule_managerbase.action.rule managerbase_action_rule.model_base_action_rulesales_team.group_sale_manager1111
14access_crm_lead_partner_managercrm.lead.partner.managermodel_crm_leadbase.group_partner_manager1000
15access_crm_lead_tagcrm_lead_tagmodel_crm_lead_tagbase.group_user1000
16access_crm_lead_tag_salesmancrm_lead_tag salesmanmodel_crm_lead_tagsales_team.group_sale_salesman1110
17access_crm_lead_tag_managercrm_lead_tag managermodel_crm_lead_tagsales_team.group_sale_manager1111
18access_crm_lost_reason_managercrm.lost.reason.managermodel_crm_lost_reasonsales_team.group_sale_manager1111
19access_crm_lost_reason_salesmancrm.lost.reason.salesmanmodel_crm_lost_reasonsales_team.group_sale_salesman1000
20access_crm_lost_reason_usercrm.lost.reason.usermodel_crm_lost_reasonbase.group_user1000
21access_crm_activity_usercrm.activity.usermodel_crm_activitybase.group_user1110
22access_crm_activity_managercrm.activity.managermodel_crm_activitysales_team.group_sale_manager1111
23access_crm_activity_salesmancrm.activity.salesmanmodel_crm_activitysales_team.group_sale_salesman1110
24access_crm_activity_report_usercrm.activity.report.usermodel_crm_activity_reportbase.group_user1000
25access_calendar_event_managercalendar.event.managercalendar.model_calendar_eventsales_team.group_sale_manager1111
26access_calendar_eventcalendar.eventcalendar.model_calendar_eventsales_team.group_sale_salesman1110
27access_calendar_event_type_sale_managercalendar.event.type.managercalendar.model_calendar_event_typesales_team.group_sale_manager1110
28access_calendar_event_type_sale_usercalendar.event.type.usercalendar.model_calendar_event_typebase.group_user1000
29access_calendar_event_type_sale_usercalendar.event.type.salesmancalendar.model_calendar_event_typesales_team.group_sale_salesman1000