[IMP] auth_signup: connection state label
Change the label of active state label from Activated to Confirmed. Indeed it indicates the user logged itself at least once. Active / Inactive is controlled through the active field. An user that logged once is non labelled as confirmed.
This commit is contained in:
committed by
Thibault Delavallée
parent
8466081792
commit
9d5b09fc09
@@ -16,7 +16,7 @@ class ResUsers(models.Model):
|
||||
_inherit = 'res.users'
|
||||
|
||||
state = fields.Selection(compute='_compute_state', string='Status',
|
||||
selection=[('new', 'Never Connected'), ('active', 'Activated')])
|
||||
selection=[('new', 'Never Connected'), ('active', 'Confirmed')])
|
||||
|
||||
@api.multi
|
||||
def _compute_state(self):
|
||||
|
||||
Reference in New Issue
Block a user