[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:
Yenthe666
2019-08-28 13:06:07 +00:00
committed by Martin Trigaux
parent 8430da8f3f
commit 89a59558aa
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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)