diff options
| author | Frédéric Gilson <fgi@odoo.com> | 2017-08-16 09:55:31 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-10-19 16:52:28 +0200 |
| commit | ef0679bf96262e90a206bace510eaf153b0b97d8 (patch) | |
| tree | d9e10f60b71267df073c2c5502da498d7f4c8501 /addons/crm/report | |
| parent | e5a75d49352918d4a4b68fc60925da33c1b1028d (diff) | |
[IMP] crm: improve labels in Opportunity analysis pivot
Closes #18866
Diffstat (limited to 'addons/crm/report')
| -rw-r--r-- | addons/crm/report/crm_opportunity_report.py | 8 |
1 files 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([ |
