summaryrefslogtreecommitdiff
path: root/addons/hr
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2020-11-16 13:25:50 +0000
committerMartin Trigaux <mat@odoo.com>2020-11-16 14:35:42 +0000
commitf5d0f4a1ebf406583889e9e04912d40c0693343e (patch)
tree92b51fb6d6671b24c55f323689cb3fbb7a2f94ed /addons/hr
parentbcb22aca37aa6f7301bc92fa3ae52f53d1044d97 (diff)
[FIX] *: rephrase, correct typos
Courtesy of Transifex's translators for reporting bad/unclear sentences. closes odoo/odoo#61785 Related: odoo/enterprise#14751 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/hr')
-rw-r--r--addons/hr/i18n/hr.pot6
-rw-r--r--addons/hr/models/res_users.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/hr/i18n/hr.pot b/addons/hr/i18n/hr.pot
index 3450ac0e43d..1833eb0c86e 100644
--- a/addons/hr/i18n/hr.pot
+++ b/addons/hr/i18n/hr.pot
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-09-29 13:45+0000\n"
-"PO-Revision-Date: 2020-09-29 13:45+0000\n"
+"POT-Creation-Date: 2020-11-16 13:39+0000\n"
+"PO-Revision-Date: 2020-11-16 13:39+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -2620,7 +2620,7 @@ msgstr ""
#, python-format
msgid ""
"You are only allowed to update your preferences. Please contact a HR officer"
-" to update other informations."
+" to update other information."
msgstr ""
#. module: hr
diff --git a/addons/hr/models/res_users.py b/addons/hr/models/res_users.py
index cc53e167cb3..91eaeadf78b 100644
--- a/addons/hr/models/res_users.py
+++ b/addons/hr/models/res_users.py
@@ -164,7 +164,7 @@ class User(models.Model):
can_edit_self = self.env['ir.config_parameter'].sudo().get_param('hr.hr_employee_self_edit') or self.env.user.has_group('hr.group_hr_user')
if hr_fields and not can_edit_self:
# Raise meaningful error message
- raise AccessError(_("You are only allowed to update your preferences. Please contact a HR officer to update other informations."))
+ raise AccessError(_("You are only allowed to update your preferences. Please contact a HR officer to update other information."))
result = super(User, self).write(vals)