diff options
| author | Jeremy Kersten <jke@odoo.com> | 2018-10-17 08:11:17 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-10-17 08:52:58 +0000 |
| commit | 1ccd148775aa3a01e5a86c38b3038063ff2b714a (patch) | |
| tree | 4613c0ead64a22b40bb393b006a6bbaf713c0c46 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | a66d42ff34af84513e99482e8dd0945e7fa72b80 (diff) | |
[FIX] website: multi website - auto public user
Before this commit
When user was in company A and try to create a second website for company B an
error was raised, because the search from user in company A don't find a public
user in company B and the same default user (public-user@company-B.com) was
created again before to be catched and raised by the sql contraint login_key.
Now we use '-' instead of '_' to avoid parser of email to detect it as invalid
After this commit, we don't have anymore the error:
- 'You can not have two users with the same login!'
or - 'Login must be a valid email address'
opw-1891315
closes odoo/odoo#27873
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
