diff --git a/partner_phonecall_schedule/__openerp__.py b/partner_phonecall_schedule/__openerp__.py index 28d1b5066..4842005d2 100644 --- a/partner_phonecall_schedule/__openerp__.py +++ b/partner_phonecall_schedule/__openerp__.py @@ -4,7 +4,7 @@ { "name": "Partner phonecalls schedule", "summary": "Track the time and days your partners expect phone calls", - "version": "9.0.1.0.0", + "version": "9.0.1.1.0", "category": "Customer Relationship Management", "website": "https://github.com/OCA/crm", "author": "Tecnativa, Odoo Community Association (OCA)", @@ -15,6 +15,7 @@ "resource", ], "data": [ + "security/ir.model.access.csv", "views/res_partner_view.xml", ], } diff --git a/partner_phonecall_schedule/security/ir.model.access.csv b/partner_phonecall_schedule/security/ir.model.access.csv new file mode 100644 index 000000000..19e52dbcf --- /dev/null +++ b/partner_phonecall_schedule/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +partner_manager_resource_calendar,Let partner managers manage resource.calendar,resource.model_resource_calendar,base.group_partner_manager,1,1,1,1 +partner_manager_resource_calendar_attendance,Let partner managers manage resource.calendar.attendance,resource.model_resource_calendar_attendance,base.group_partner_manager,1,1,1,1 diff --git a/partner_phonecall_schedule/views/res_partner_view.xml b/partner_phonecall_schedule/views/res_partner_view.xml index f73aa46c9..7ea0f7032 100644 --- a/partner_phonecall_schedule/views/res_partner_view.xml +++ b/partner_phonecall_schedule/views/res_partner_view.xml @@ -8,6 +8,8 @@ Partner phonecall schedule res.partner +