From a3a23bff532b4dda20b27ac82ab91ae790694a2e Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 12 Dec 2013 11:31:15 +0100 Subject: [PATCH] [FIX] hr_gamification: hr officers can see any goals bzr revid: mat@openerp.com-20131212103115-1i3tn2cez2iee8e3 --- addons/hr_gamification/__openerp__.py | 1 + .../security/gamification_security.xml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 addons/hr_gamification/security/gamification_security.xml diff --git a/addons/hr_gamification/__openerp__.py b/addons/hr_gamification/__openerp__.py index d98e7df3f24..7dbf5d76df2 100644 --- a/addons/hr_gamification/__openerp__.py +++ b/addons/hr_gamification/__openerp__.py @@ -32,6 +32,7 @@ Badge received are displayed on the user profile. """, 'data': [ 'security/ir.model.access.csv', + 'security/gamification_security.xml', 'gamification_view.xml', ], 'js': ['static/src/js/gamification.js'], diff --git a/addons/hr_gamification/security/gamification_security.xml b/addons/hr_gamification/security/gamification_security.xml new file mode 100644 index 00000000000..e0f9a6cf918 --- /dev/null +++ b/addons/hr_gamification/security/gamification_security.xml @@ -0,0 +1,17 @@ + + + + + + HR Officer can see any goal + + + + + + + [(1, '=', 1)] + + + +