From 3d21d89c93da8060b0189170071994a1feb5a211 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 12 Dec 2013 11:14:44 +0100 Subject: [PATCH] [FIX] gamification: change field name unit -> suffix bzr revid: mat@openerp.com-20131212101444-v1y643ra8kl4eet0 --- addons/gamification_sale_crm/sale_crm_goals.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/gamification_sale_crm/sale_crm_goals.xml b/addons/gamification_sale_crm/sale_crm_goals.xml index 6336f0e0654..1951d25d4fe 100644 --- a/addons/gamification_sale_crm/sale_crm_goals.xml +++ b/addons/gamification_sale_crm/sale_crm_goals.xml @@ -18,7 +18,7 @@ New Leads Based on the creation date count - leads + leads [('user_id','=',user.id),('type', '=', 'lead')] @@ -29,7 +29,7 @@ The average number of days to open the case (lower than) sum lower - days + days @@ -41,7 +41,7 @@ The average number of days to close the case (lower than) sum lower - days + days @@ -53,7 +53,7 @@ Logged Calls Log a certain number of calls to reach this goal count - calls + calls [('user_id','=',user.id),('state','=','done')] @@ -63,7 +63,7 @@ New Opportunities Based on the opening date count - opportunities + opportunities [('user_id','=',user.id),('type','=','opportunity')] @@ -73,7 +73,7 @@ New Sales Orders Based on the creation date count - orders + orders [('user_id','=',user.id),('state','not in',('draft', 'sent', 'cancel'))] @@ -83,7 +83,7 @@ Paid Sales Orders Based on the invoice date count - orders + orders [('state','=','paid'),('user_id','=',user.id),('type','=','out_invoice')] @@ -105,7 +105,7 @@ Refund the least customers (lower than) count lower - invoices + invoices [('state','!=','cancel'),('user_id','=',user.id),('type','=','out_refund')]