[FIX] hr: fix typo in OdooBot notification
closes odoo/odoo#35971 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
committed by
Martin Trigaux
parent
8430da8f3f
commit
89a59558aa
@@ -41,8 +41,8 @@ msgstr ""
|
||||
#: code:addons/hr/models/hr_employee.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"<b>Congratulations !</b> May I recommand you to setup an <a "
|
||||
"href=\"%s\">onboarding plan ?</a>"
|
||||
"<b>Congratulations !</b> May I recommend you to setup an <a "
|
||||
"href=\"%s\">onboarding plan?</a>"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
||||
@@ -251,7 +251,7 @@ class HrEmployeePrivate(models.Model):
|
||||
vals['name'] = vals.get('name', user.name)
|
||||
employee = super(HrEmployeePrivate, self).create(vals)
|
||||
url = '/web#%s' % url_encode({'action': 'hr.plan_wizard_action', 'active_id': employee.id, 'active_model': 'hr.employee'})
|
||||
employee._message_log(body=_('<b>Congratulations !</b> May I recommand you to setup an <a href="%s">onboarding plan ?</a>') % (url))
|
||||
employee._message_log(body=_('<b>Congratulations!</b> May I recommend you to setup an <a href="%s">onboarding plan?</a>') % (url))
|
||||
if employee.department_id:
|
||||
self.env['mail.channel'].sudo().search([
|
||||
('subscription_department_ids', 'in', employee.department_id.id)
|
||||
|
||||
Reference in New Issue
Block a user