Browse Source

[UPD] add access rights

pull/2/head
Romain Deheele 11 years ago
parent
commit
f18e606e14
  1. 3
      base_continent/__openerp__.py
  2. 3
      base_continent/security/ir.model.access.csv

3
base_continent/__openerp__.py

@ -36,7 +36,8 @@ adds continent field on partner form
'demo_xml': [], 'demo_xml': [],
'update_xml': [ 'update_xml': [
'base_continent_view.xml', 'base_continent_view.xml',
'base_continent_data.xml'],
'base_continent_data.xml',
'security/ir.model.access.csv'],
'active': False, 'active': False,
'installable': True, 'installable': True,
} }

3
base_continent/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
access_res_continent_group_all,res_continent group_user_all,model_res_continent,,1,0,0,0
access_res_continent_group_user,res_continent group_user,model_res_continent,base.group_partner_manager,1,1,1,1
Loading…
Cancel
Save