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%24www_url%7Dadmin/compta/exercices/data/%40%20%27info_date_publication_anterieure%27%20=%3E%20%27Previously%20published%20on:%27%2C%20%27info_date_referencement%27%20=%3E%20%27THIS%20SITE%20REFERENCED%20ON:%27%2C%20%27info_derniere_etape%27%20=%3E%20%27Done%21%27%2C-%27info_derniers_articles_publies%27%20=%3E%20%27Your%20most%20recently%20published%20articles%27%2C-%27info_desactiver_messagerie_personnelle%27%20=%3E%20%27You%20can%20enable%20or%20disable%20your%20personal%20messaging%20on%20this%20site.%27%2C%20%27info_descriptif%27%20=%3E%20%27Description:%27%2C%20%27info_desinstaller_plugin%27%20=%3E%20%27%20deactivates%20the%20plugin%20and%20deletes%20the%20data%27%2C%20%27info_discussion_cours%27%20=%3E%20%27Current%20discussions%27%2C%40%40%20-332%2C7%20%20284%2C6%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;ds=sidebyside;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