From 142095eae056da1d7a3c60a7624ce2b4c773501a Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Thu, 19 Dec 2013 17:20:17 +0100 Subject: [PATCH] [GROUP] +special group to control membership state --- __openerp__.py | 2 ++ security/ir.model.access.csv | 6 ++++++ security/velosenville.xml | 9 +++++++++ 3 files changed, 17 insertions(+) create mode 100644 security/ir.model.access.csv create mode 100644 security/velosenville.xml diff --git a/__openerp__.py b/__openerp__.py index d2740fb..4a8da2a 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -42,6 +42,8 @@ It installs the profile for bike co-ops to manage some features like: 'data/product.xml', 'data/res_partner.xml', 'view/bikecoop.xml', + 'security/velosenville.xml', + 'security/ir.model.access.csv', ], 'installable': True, 'auto_install': False, diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv new file mode 100644 index 0000000..d00b385 --- /dev/null +++ b/security/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_product_product_group_partner_control,access_product_product group_partner_control,product.model_product_product,group_partner_control,1,0,0,0 +access_product_template_group_partner_control,access_product_template group_partner_control,product.model_product_template,group_partner_control,1,0,0,0 +access_product_supplierinfo_group_partner_control,access_product_supplierinfo group_partner_control,product.model_product_supplierinfo,group_partner_control,1,0,0,0 +access_res_partner_group_partner_control,access_res_parner group_partner_control,base.model_res_partner,group_partner_control,1,0,0,0 +access_bikecoop_partner_theme_group_partner_control,access_bikecoop_partner_theme group_partner_control,bikecoop.model_bikecoop_partner_theme,group_partner_control,1,0,0,0 diff --git a/security/velosenville.xml b/security/velosenville.xml new file mode 100644 index 0000000..f1bc71a --- /dev/null +++ b/security/velosenville.xml @@ -0,0 +1,9 @@ + + + + + Partners control user + + + + -- 2.20.1