Files
odoo_source/addons/crm/security/ir.model.access.csv
T
Adrien Minet 42a637202b [FIX] crm: lead.scoring.frequency must be accessible by admin
How to reproduce the bug ?

- install the CRM and sales modules
- remove the user from the all the sales security group
- go back to the dashboard and click on settings

What is the bug ?

The res.config.settings model of the CRM module has a field referencing
the crm.lead.scoring.frequency model. This model can only be accessed by
the members of the sale security groups. If an admin is not part of the
sales group, he will get an error when he wants to access the settings
while he will not see the sales or the crm settings tab.

opw-2755177

closes odoo/odoo#91405

X-original-commit: 5f2d6dfac018339283971eadc2a3bbadc857ae35
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Minet Adrien (admi) <admi@odoo.com>
2022-05-16 09:14:13 +02:00

3.5 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_res_partner_managerres.partner.crm.managerbase.model_res_partnersales_team.group_sale_manager1000
7access_res_partner_category_managerres.partner.category.crm.managerbase.model_res_partner_categorysales_team.group_sale_manager1000
8access_res_partnerres.partner.crm.userbase.model_res_partnersales_team.group_sale_salesman1110
9access_res_partner_categoryres.partner.category.crm.userbase.model_res_partner_categorysales_team.group_sale_salesman1110
10access_crm_lost_reason_managercrm.lost.reason.managermodel_crm_lost_reasonsales_team.group_sale_manager1111
11access_crm_lost_reason_salesmancrm.lost.reason.salesmanmodel_crm_lost_reasonsales_team.group_sale_salesman1000
12access_crm_lost_reason_usercrm.lost.reason.usermodel_crm_lost_reasonbase.group_user1000
13access_crm_activity_report_usercrm.activity.report.usermodel_crm_activity_reportbase.group_user1000
14access_calendar_event_managercalendar.event.managercalendar.model_calendar_eventsales_team.group_sale_manager1111
15access_calendar_eventcalendar.eventcalendar.model_calendar_eventsales_team.group_sale_salesman1110
16access_calendar_event_type_sale_managercalendar.event.type.managercalendar.model_calendar_event_typesales_team.group_sale_manager1110
17access_calendar_event_type_sale_usercalendar.event.type.usercalendar.model_calendar_event_typebase.group_user1000
18access_calendar_event_type_sale_salesmancalendar.event.type.salesmancalendar.model_calendar_event_typesales_team.group_sale_salesman1000
19access_mail_activity_type_sale_managermail.activity.type.sale.managermail.model_mail_activity_typesales_team.group_sale_manager1111
20access_crm_lead_scoring_frequencyaccess_crm_lead_scoring_frequencymodel_crm_lead_scoring_frequencysales_team.group_sale_salesman1000
21access_crm_lead_scoring_frequency_systemaccess_crm_lead_scoring_frequency_systemmodel_crm_lead_scoring_frequencybase.group_system1000
22access_crm_lead_scoring_frequency_fieldaccess_crm_lead_scoring_frequency_fieldmodel_crm_lead_scoring_frequency_fieldsales_team.group_sale_salesman1000
23access_crm_lead_scoring_frequency_field_systemaccess_crm_lead_scoring_frequency_field_systemmodel_crm_lead_scoring_frequency_fieldbase.group_system1000
24access_crm_lead_lostaccess.crm.lead.lostmodel_crm_lead_lostsales_team.group_sale_salesman1110
25access_crm_lead2opportunity_partneraccess.crm.lead2opportunity.partnermodel_crm_lead2opportunity_partnersales_team.group_sale_salesman1110
26access_crm_lead2opportunity_partner_massaccess.crm.lead2opportunity.partner.massmodel_crm_lead2opportunity_partner_masssales_team.group_sale_salesman1110
27access_crm_merge_opportunityaccess.crm.merge.opportunitymodel_crm_merge_opportunitysales_team.group_sale_salesman1110
28crm_recurring_plan_access_managercrm.recurring.plan.access.managermodel_crm_recurring_plansales_team.group_sale_manager1111
29crm_recurring_plan_access_salesmancrm.recurring.plan.access.salesmanmodel_crm_recurring_plansales_team.group_sale_salesman1000
30crm_lead_pls_update_access_systemcrm.lead.pls.update.access.systemmodel_crm_lead_pls_updatebase.group_erp_manager1111