From: Ludovic CHEVALIER Date: Mon, 2 Feb 2015 15:46:59 +0000 (+0100) Subject: [SECURITY] -create pos_session for pos user group X-Git-Url: http://git.cyclocoop.org/?p=burette%2Fbretzselle.git;a=commitdiff_plain;h=317249f90ff62c39d8cd3443f05db86e30733d3a [SECURITY] -create pos_session for pos user group --- diff --git a/__openerp__.py b/__openerp__.py index 4d92710..351d83e 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -50,6 +50,7 @@ It installs the profile for bike co-ops to manage some features like: 'data/products_categories.xml', 'data/products_products.xml', 'data/products_products_old.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..aa44e5f --- /dev/null +++ b/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 +point_of_sale.access_pos_session_user,pos.session user,point_of_sale.model_pos_session,point_of_sale.group_pos_user,1,0,0,0