[FIX] web: correct grammar of error message

closes odoo/odoo#52384

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Ray Carnes
2020-06-04 06:38:14 +00:00
committed by Martin Trigaux
parent 980eaaeb24
commit 3b59efa614
+1 -1
View File
@@ -901,7 +901,7 @@ class Home(http.Controller):
values['error'] = e.args[0]
else:
if 'error' in request.params and request.params.get('error') == 'access':
values['error'] = _('Only employee can access this database. Please contact the administrator.')
values['error'] = _('Only employees can access this database. Please contact the administrator.')
if 'login' not in values and request.session.get('auth_login'):
values['login'] = request.session.get('auth_login')