[QUA]CRM Action quality : redundant names
This commit is contained in:
parent
6a82f32f2c
commit
29c7033d08
@ -36,11 +36,11 @@ class CrmAction(models.Model):
|
||||
priority = fields.Selection([('0', 'Not evaluated'), ('1', 'Low'),
|
||||
('2', 'Medium'), ('3', 'High'),
|
||||
('4', 'Urgent')],
|
||||
string='Priority', default='0', index=True)
|
||||
default='0', index=True)
|
||||
details = fields.Text()
|
||||
|
||||
partner_id = fields.Many2one('res.partner', string='Customer', index=True)
|
||||
date = fields.Datetime('Date', required=True, default=fields.Date.context_today)
|
||||
date = fields.Datetime(required=True, default=fields.Date.context_today)
|
||||
user_id = fields.Many2one('res.users', string='User', required=True,
|
||||
default=lambda self: self.env.user)
|
||||
lead_id = fields.Many2one('crm.lead', string='Lead', ondelete='cascade')
|
||||
@ -148,6 +148,6 @@ class CrmActionType(models.Model):
|
||||
_description = 'CRM Action Type'
|
||||
_order = 'priority'
|
||||
|
||||
name = fields.Char('Name', required=True)
|
||||
priority = fields.Integer('Priority', required=True, default=0)
|
||||
active = fields.Boolean('Active', default=True)
|
||||
name = fields.Char(required=True)
|
||||
priority = fields.Integer(required=True, default=0)
|
||||
active = fields.Boolean(default=True)
|
||||
|
Loading…
Reference in New Issue
Block a user