From fc736450025ab68c287476ce9bf3f26ef1a79b2e Mon Sep 17 00:00:00 2001 From: Hareshkumar Shyara Date: Wed, 15 Mar 2017 15:27:05 +0100 Subject: [PATCH] [IMP] crm: rename priority field of lead to priority instead of rating --- addons/crm/models/crm_lead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/models/crm_lead.py b/addons/crm/models/crm_lead.py index 5dd40ea80c3..8123c175288 100644 --- a/addons/crm/models/crm_lead.py +++ b/addons/crm/models/crm_lead.py @@ -91,7 +91,7 @@ class Lead(models.Model): type = fields.Selection([('lead', 'Lead'), ('opportunity', 'Opportunity')], index=True, required=True, default=lambda self: 'lead' if self.env['res.users'].has_group('crm.group_use_lead') else 'opportunity', help="Type is used to separate Leads and Opportunities") - priority = fields.Selection(crm_stage.AVAILABLE_PRIORITIES, string='Rating', index=True, default=crm_stage.AVAILABLE_PRIORITIES[0][0]) + priority = fields.Selection(crm_stage.AVAILABLE_PRIORITIES, string='Priority', index=True, default=crm_stage.AVAILABLE_PRIORITIES[0][0]) date_closed = fields.Datetime('Closed Date', readonly=True, copy=False) stage_id = fields.Many2one('crm.stage', string='Stage', track_visibility='onchange', index=True,