From: Ludovic CHEVALIER Date: Fri, 29 May 2020 10:19:24 +0000 (+0200) Subject: [SECURITY] ~fix access to pos.make.payment X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/%27http:/ie7-js.googlecode.com/svn/test/index.html/%40%20%27config_titre_base_sup%27%20=%3E%20%27Declaration%20of%20an%20additional%20database%27%2C%20%27config_titre_base_sup_choix%27%20=%3E%20%27Choose%20an%20additional%20database%27%2C%20%27connexion_ldap%27%20=%3E%20%27Connection:%27%2C-%27copier_en_local%27%20=%3E%20%27Copy%20to%20local%20site%27%2C%20%27creer_et_associer_un_auteur%27%20=%3E%20%27Create%20and%20associate%20an%20author%27%2C-%27creer_et_associer_une_rubrique%27%20=%3E%20%27Create%20and%20link%20a%20section%27%2C%20%20/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=commitdiff_plain;h=69ddcfb24184ec6ac126b3789eafd122261d74e4;p=burette%2Fcoup_de_pouce_velo.git [SECURITY] ~fix access to pos.make.payment --- diff --git a/__openerp__.py b/__openerp__.py index f273154..4a2ac19 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -23,6 +23,7 @@ This module adds features to OpenERP POS module for french bikecoops for "Coup d 'init_xml': [ ], 'update_xml': [ + 'security/ir.model.access.csv', 'view/account_statement.xml', ], 'installable': True, diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv new file mode 100644 index 0000000..120c52b --- /dev/null +++ b/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_pos_make_payment_group_user,pos.make.payment user,model_pos_make_payment,point_of_sale.group_pos_user,1,1,1,0 +access_pos_make_payment_group_manager,pos.make.payment manager,model_pos_make_payment,point_of_sale.group_pos_manager,1,1,1,0