summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinjal Mehta <kme@odoo.com>2017-12-06 12:09:33 +0530
committerKinjal Mehta <kme@odoo.com>2018-01-04 17:56:53 +0530
commitc9fcbd60a5c7a6ed325eebf405ff5b4c5d0e426a (patch)
treebb1369d1ab37e686ef615e2e9b28206b3f2ac02c
parentb61e5a92872e5ce4797c15e8459b7a4706956d4f (diff)
[IMP] crm: rename duplicate field label
-rw-r--r--addons/crm/models/crm_lead.py2
-rw-r--r--addons/crm/models/crm_team.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/crm/models/crm_lead.py b/addons/crm/models/crm_lead.py
index 932a8ec5bcd..18e0826af80 100644
--- a/addons/crm/models/crm_lead.py
+++ b/addons/crm/models/crm_lead.py
@@ -72,7 +72,7 @@ class Lead(models.Model):
team_id = fields.Many2one('crm.team', string='Sales Channel', oldname='section_id', default=lambda self: self.env['crm.team'].sudo()._get_default_team_id(user_id=self.env.uid),
index=True, track_visibility='onchange', help='When sending mails, the default email address is taken from the sales channel.')
kanban_state = fields.Selection([('grey', 'No next activity planned'), ('red', 'Next activity late'), ('green', 'Next activity is planned')],
- string='Activity State', compute='_compute_kanban_state')
+ string='Kanban State', compute='_compute_kanban_state')
email_cc = fields.Text('Global CC', help="These email addresses will be added to the CC field of all inbound and outbound emails for this record before being sent. Separate multiple email addresses with a comma")
description = fields.Text('Notes')
create_date = fields.Datetime('Create Date', readonly=True)
diff --git a/addons/crm/models/crm_team.py b/addons/crm/models/crm_team.py
index cddad92eea1..3519aaa19c5 100644
--- a/addons/crm/models/crm_team.py
+++ b/addons/crm/models/crm_team.py
@@ -23,7 +23,7 @@ class Team(models.Model):
string='Number of open opportunities', readonly=True)
opportunities_amount = fields.Integer(
compute='_compute_opportunities',
- string='Amount of quotations to invoice', readonly=True)
+ string='Amount of opportunities to invoice', readonly=True)
dashboard_graph_model = fields.Selection(selection_add=[('crm.opportunity.report', 'Pipeline')])
dashboard_graph_period_pipeline = fields.Selection([
('week', 'Within a Week'),
@@ -37,7 +37,7 @@ class Team(models.Model):
('month', 'Expected Closing Month'),
('user', 'Salesperson'),
('stage', 'Stage'),
- ], string='Group by', default='day', help="How this channel's dashboard graph will group the results.")
+ ], string='Group by Pipeline', default='day', help="How this channel's dashboard graph will group the results.")
def _compute_unassigned_leads_count(self):
leads_data = self.env['crm.lead'].read_group([