diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-03-18 14:17:54 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-03-18 14:17:54 +0100 |
| commit | 2940ee6b356fd167f5ece62c92f9a9e8a770aa7d (patch) | |
| tree | 118c3893f17d78879781fca89b3c90aaec87b522 /addons/portal/wizard | |
| parent | 1f008a439a3f64801eee88b20b0c3c0606741604 (diff) | |
| parent | c6353942ffdcd68b1781c91e88b5862ffdb5f11b (diff) | |
[MERGE] forward port branch saas-15 up to c6353942ffd
Diffstat (limited to 'addons/portal/wizard')
| -rw-r--r-- | addons/portal/wizard/portal_wizard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/portal/wizard/portal_wizard.py b/addons/portal/wizard/portal_wizard.py index 6eb23c18729..9b168e4ccdc 100644 --- a/addons/portal/wizard/portal_wizard.py +++ b/addons/portal/wizard/portal_wizard.py @@ -93,7 +93,7 @@ class PortalWizardUser(models.TransientModel): partners_error_empty |= wizard_user.partner_id elif email in emails: partners_error_emails |= wizard_user.partner_id - user = self.env['res.users'].sudo().with_context(active_test=False).search([('login', '=', email)]) + user = self.env['res.users'].sudo().with_context(active_test=False).search([('login', '=ilike', email)]) if user: partners_error_user |= wizard_user.partner_id emails.append(email) |
