From ef0679bf96262e90a206bace510eaf153b0b97d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Gilson?= Date: Wed, 16 Aug 2017 09:55:31 +0200 Subject: [PATCH] [IMP] crm: improve labels in Opportunity analysis pivot Closes #18866 --- addons/crm/report/crm_opportunity_report.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/crm/report/crm_opportunity_report.py b/addons/crm/report/crm_opportunity_report.py index 8f6621cb836..6338da7ae92 100644 --- a/addons/crm/report/crm_opportunity_report.py +++ b/addons/crm/report/crm_opportunity_report.py @@ -21,11 +21,11 @@ class OpportunityReport(models.Model): active = fields.Boolean('Active', readonly=True) # durations - delay_open = fields.Float('Delay to Assign', digits=(16, 2), readonly=True, group_operator="avg", help="Number of Days to open the case") - delay_close = fields.Float('Delay to Close', digits=(16, 2), readonly=True, group_operator="avg", help="Number of Days to close the case") + delay_open = fields.Float('Days to Assign', digits=(16, 2), readonly=True, group_operator="avg", help="Number of Days to open the case") + delay_close = fields.Float('Days to Close', digits=(16, 2), readonly=True, group_operator="avg", help="Number of Days to close the case") delay_expected = fields.Float('Overpassed Deadline', digits=(16, 2), readonly=True, group_operator="avg") - user_id = fields.Many2one('res.users', string='User', readonly=True) + user_id = fields.Many2one('res.users', string='Salesperson', readonly=True) team_id = fields.Many2one('crm.team', 'Sales Channel', oldname='section_id', readonly=True) nbr_activities = fields.Integer('# of Activities', readonly=True) city = fields.Char('City') @@ -35,7 +35,7 @@ class OpportunityReport(models.Model): expected_revenue = fields.Float(string='Probable Turnover', digits=(16, 2), readonly=True) stage_id = fields.Many2one('crm.stage', string='Stage', readonly=True, domain="['|', ('team_id', '=', False), ('team_id', '=', team_id)]") stage_name = fields.Char(string='Stage Name', readonly=True) - partner_id = fields.Many2one('res.partner', string='Partner', readonly=True) + partner_id = fields.Many2one('res.partner', string='Customer', readonly=True) company_id = fields.Many2one('res.company', string='Company', readonly=True) priority = fields.Selection(crm_stage.AVAILABLE_PRIORITIES, string='Priority', group_operator="avg") type = fields.Selection([