diff --git a/partner_alias/__manifest__.py b/partner_alias/__manifest__.py index 1b49cb346..de6375e91 100644 --- a/partner_alias/__manifest__.py +++ b/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", ], diff --git a/partner_alias/security/ir.model.access.csv b/partner_alias/security/ir.model.access.csv index e69de29bb..898909d24 100644 --- a/partner_alias/security/ir.model.access.csv +++ b/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 \ No newline at end of file diff --git a/partner_alias/views/res_partner_alias_view.xml b/partner_alias/views/res_partner_alias_view.xml index 607d05c59..d316925e9 100644 --- a/partner_alias/views/res_partner_alias_view.xml +++ b/partner_alias/views/res_partner_alias_view.xml @@ -49,4 +49,4 @@ {} - \ No newline at end of file +