Browse Source

CRM Job position access rights

pull/226/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
40e174bbc4
  1. 1
      crm_job_position/__openerp__.py
  2. 5
      crm_job_position/security/ir.model.access.csv

1
crm_job_position/__openerp__.py

@ -36,6 +36,7 @@
'views/crm_job_position_view.xml',
'views/crm_lead_view.xml',
'views/res_partner_view.xml',
'security/ir.model.access.csv',
],
"installable": True,
}

5
crm_job_position/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_job_position_public","crm_job_position group_public","model_crm_job_position","base.group_public",1,0,0,0
"access_crm_job_position_portal","crm_job_position group_portal","model_crm_job_position","base.group_portal",1,0,0,0
"access_crm_job_position_group_partner_manager","crm_job_position group_partner_manager","model_crm_job_position","base.group_partner_manager",1,1,1,1
"access_crm_job_position_group_user","crm_job_position group_user","model_crm_job_position","base.group_user",1,0,0,0
Loading…
Cancel
Save