From d56c30808df52b34918bae580be960b16a3c1114 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Wed, 2 Oct 2013 17:41:58 +0200 Subject: [PATCH] [FIX] gamification: make goal work in multicompany mode bzr revid: mat@openerp.com-20131002154158-zmhcpkg69jxqzrpk --- addons/gamification/goal_base_data.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/gamification/goal_base_data.xml b/addons/gamification/goal_base_data.xml index c4a5f8d73b8..48bc562effe 100644 --- a/addons/gamification/goal_base_data.xml +++ b/addons/gamification/goal_base_data.xml @@ -31,7 +31,8 @@ count checkbox - [('user_ids', 'in', user.id), ('name', '!=', 'Your Company')] + [('user_ids', 'in', [user.id]), ('name', '=', 'Your Company')] + lower user.company_id.id @@ -116,7 +117,7 @@ - 1 + 0