diff --git a/addons/lunch/security/lunch_security.xml b/addons/lunch/security/lunch_security.xml index e01fab71ea2..5f2a351472c 100644 --- a/addons/lunch/security/lunch_security.xml +++ b/addons/lunch/security/lunch_security.xml @@ -16,5 +16,43 @@ + + + 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 + + + [('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 + + + [('user_id', '=', user.id)] + + + lunch.cashmove: do not see and create other people's cashmove + + + [(1, '=', 1)] + +