From: Ludovic CHEVALIER Date: Wed, 21 Sep 2016 10:19:16 +0000 (+0200) Subject: [SECURITY] -pos box cash in pos box cash out access for non accountant X-Git-Url: https://git.cyclocoop.org/?p=burette%2Fvelosenville.git;a=commitdiff_plain;h=3ef96cd004ba30f34d7cd6627587afad3d58d923 [SECURITY] -pos box cash in pos box cash out access for non accountant or non pos manager users --- diff --git a/__openerp__.py b/__openerp__.py index 8cdcc02..478c45e 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -42,6 +42,7 @@ It installs the profile for bike co-ops to manage some features like: 'view/point_of_sale.xml', 'security/velosenville.xml', 'security/ir.model.access.csv', + 'wizard/pos_box.xml', ], 'installable': True, 'auto_install': False, diff --git a/view/point_of_sale.xml b/view/point_of_sale.xml index a298887..872e4af 100644 --- a/view/point_of_sale.xml +++ b/view/point_of_sale.xml @@ -11,5 +11,19 @@ + + pos.session.form + pos.session + + + + + account.group_account_user,account.group_account_manager,point_of_sale.group_pos_manager + + + account.group_account_user,account.group_account_manager,point_of_sale.group_pos_manager + + + diff --git a/wizard/pos_box.xml b/wizard/pos_box.xml new file mode 100644 index 0000000..81417dc --- /dev/null +++ b/wizard/pos_box.xml @@ -0,0 +1,11 @@ + + + + + + + + + + +