diff options
| author | Denis Vermylen <dve@odoo.com> | 2017-05-15 15:14:49 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-07-06 12:53:39 +0200 |
| commit | 676022e3afdd774c3e0c78cb26c0062133043308 (patch) | |
| tree | 4ebb9a52d9bb10518ab3cd9242a3ac1786280488 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 689d6d68296ea32c2155dc1a61b593754ca3b968 (diff) | |
[IMP] auth_signup: display meaningfull and translated error messages
Since 5425316eff19e7ae716aafdb730c92d1b3ea2abb errors when signing up will only display two
messages:
* "Another user is already registered using this email address." or
* "Could not create a new account."
While Odoo creates a multitude of other comprehensible error messages
such as
* "Passwords do not match; please retype them."
* "Signup token '%s' is no longer valid"
This commit now separate UserError and AssertionError from SignupErrors.
Those are still hidden in a general message (see 5425316eff19e7ae716aafdb730c92d1b3ea2abb for reasons) while
the other ones are fully displayed.
This commit also improves translations of messages.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
