Browse Source

[ADD] partner_alias: Add access security.

pull/382/head
Brett Wood 8 years ago
parent
commit
0bffe33ed2
  1. 2
      partner_alias/__manifest__.py
  2. 2
      partner_alias/security/ir.model.access.csv
  3. 2
      partner_alias/views/res_partner_alias_view.xml

2
partner_alias/__manifest__.py

@ -17,7 +17,7 @@
"partner_firstname",
],
"data": [
# "security/ir.model.access.csv",
"security/ir.model.access.csv",
"views/res_partner_view.xml",
"views/res_partner_alias_view.xml",
],

2
partner_alias/security/ir.model.access.csv

@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
res_partner_alias_user,res_partner_alias group_user,model_res_partner_alias,base.group_user,1,1,1,1

2
partner_alias/views/res_partner_alias_view.xml

@ -49,4 +49,4 @@
<field name="context">{}</field>
</record>
</odoo>
</odoo>
Loading…
Cancel
Save