From 0bffe33ed2f289bc763fb840359fdcca4a4b0289 Mon Sep 17 00:00:00 2001 From: Brett Wood Date: Tue, 31 Jan 2017 16:25:03 -0800 Subject: [PATCH] [ADD] partner_alias: Add access security. --- partner_alias/__manifest__.py | 2 +- partner_alias/security/ir.model.access.csv | 2 ++ partner_alias/views/res_partner_alias_view.xml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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 +