[IMP] crm: rename duplicate field label
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user