From a77002035d48bba891a6e9de4c65711e90e40254 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 28 Apr 2014 09:53:01 +0200 Subject: [PATCH] [FIX] lunch: allow other people to create lunch orders for others bzr revid: mat@openerp.com-20140428075301-ah6lgb7zzkr6vb3o --- addons/lunch/security/lunch_security.xml | 28 ++---------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/addons/lunch/security/lunch_security.xml b/addons/lunch/security/lunch_security.xml index 4ffb6dd2c3d..abdd0cea0a6 100644 --- a/addons/lunch/security/lunch_security.xml +++ b/addons/lunch/security/lunch_security.xml @@ -17,38 +17,14 @@ - - lunch.order: do not see and create other people's order - - - [('user_id', '=', user.id)] - - - lunch.order: do not see and create other people's order - - - [(1, '=', 1)] - - - lunch.order.line: do not see and create other people's order line - - - [('order_id.user_id', '=', user.id)] - - - lunch.order.line: do not see and create other people's order line - - - [(1, '=', 1)] - - lunch.cashmove: do not see and create other people's cashmove + lunch.cashmove: do not see other people's cashmove [('user_id', '=', user.id)] - lunch.cashmove: do not see and create other people's cashmove + lunch.cashmove: do see other people's cashmove [(1, '=', 1)]