Browse Source

CRM Department access rights

pull/229/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
dd5771696f
  1. 1
      crm_department/__openerp__.py
  2. 5
      crm_department/security/ir.model.access.csv

1
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,
}

5
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
Loading…
Cancel
Save