mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-23 01:52:06 +02:00
19.0 vanilla
This commit is contained in:
parent
a1137a1456
commit
e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions
|
|
@ -4,7 +4,7 @@
|
|||
from odoo import fields, models, _
|
||||
|
||||
|
||||
class Alias(models.Model):
|
||||
class MailAlias(models.Model):
|
||||
_inherit = 'mail.alias'
|
||||
|
||||
alias_contact = fields.Selection(selection_add=[
|
||||
|
|
@ -14,4 +14,4 @@ class Alias(models.Model):
|
|||
def _get_alias_contact_description(self):
|
||||
if self.alias_contact == 'employees':
|
||||
return _('addresses linked to registered employees')
|
||||
return super(Alias, self)._get_alias_contact_description()
|
||||
return super()._get_alias_contact_description()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue