From 3b6eae8b1eca3532be27ba1f7d9913619e8f2686 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Tue, 14 Apr 2015 17:32:49 +0200 Subject: [PATCH] [FIX] sale: Sales Team GaugeEq In Sales Team, the value shown when the cursor is over the gauge for Sales Orders must not include the taxes. opw:632348 --- addons/sale/sales_team.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/sale/sales_team.py b/addons/sale/sales_team.py index ef4891de8e8..a9f8fa6b482 100644 --- a/addons/sale/sales_team.py +++ b/addons/sale/sales_team.py @@ -24,8 +24,7 @@ class crm_case_section(osv.osv): created_domain = [('section_id', '=', id), ('state', '=', 'draft'), ('date_order', '>=', date_begin), ('date_order', '<=', date_end)] validated_domain = [('section_id', '=', id), ('state', 'not in', ['draft', 'sent', 'cancel']), ('date_order', '>=', date_begin), ('date_order', '<=', date_end)] res[id]['monthly_quoted'] = json.dumps(self.__get_bar_values(cr, uid, obj, created_domain, ['amount_total', 'date_order'], 'amount_total', 'date_order', context=context)) - res[id]['monthly_confirmed'] = json.dumps(self.__get_bar_values(cr, uid, obj, validated_domain, ['amount_total', 'date_order'], 'amount_total', 'date_order', context=context)) - + res[id]['monthly_confirmed'] = json.dumps(self.__get_bar_values(cr, uid, obj, validated_domain, ['amount_untaxed', 'date_order'], 'amount_untaxed', 'date_order', context=context)) return res def _get_invoices_data(self, cr, uid, ids, field_name, arg, context=None):