From dd5771696ffc5fa3e0af467a711f18ce46785e2c Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Tue, 3 Mar 2015 15:48:58 +0100 Subject: [PATCH] CRM Department access rights --- crm_department/__openerp__.py | 1 + crm_department/security/ir.model.access.csv | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 crm_department/security/ir.model.access.csv diff --git a/crm_department/__openerp__.py b/crm_department/__openerp__.py index b48cec38a..e4372990c 100644 --- a/crm_department/__openerp__.py +++ b/crm_department/__openerp__.py @@ -36,6 +36,7 @@ 'views/crm_department_view.xml', 'views/crm_lead_view.xml', 'views/res_partner_view.xml', + 'security/ir.model.access.csv', ], "installable": True, } diff --git a/crm_department/security/ir.model.access.csv b/crm_department/security/ir.model.access.csv new file mode 100644 index 000000000..dc285f926 --- /dev/null +++ b/crm_department/security/ir.model.access.csv @@ -0,0 +1,5 @@ +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" +"access_crm_department_public","crm_department group_public","model_crm_department","base.group_public",1,0,0,0 +"access_crm_department_portal","crm_department group_portal","model_crm_department","base.group_portal",1,0,0,0 +"access_crm_department_group_partner_manager","crm_department group_partner_manager","model_crm_department","base.group_partner_manager",1,1,1,1 +"access_crm_department_group_user","crm_department group_user","model_crm_department","base.group_user",1,0,0,0