diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-02-06 09:50:42 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-02-06 09:50:42 +0000 |
| commit | 4a202440b8d9bbe8e93e1ae47b68159330c8836d (patch) | |
| tree | 92a84bb539f759528ff602931bff31ffa4085a5f /addons/website/tests/__init__.py | |
| parent | c1be1993f9bcd11f3fdff78e81ea71e518c15779 (diff) | |
[FIX] website: allow scheme and port on domain (multi-website)
Before this commit, the website selection was not working when a scheme or port
was encoded in the domain field. This was not obvious or natural for the user,
because the easiest way to fill it was to copy/paste the URL from the browser.
Now it works when scheme or port are encoded, it is even strongly recommended to
actually encode them if they don't take a default value because they will be
used when creating full URL to the website (typically when sending emails to
clients where a link back is necessary).
PR: #30000
Diffstat (limited to 'addons/website/tests/__init__.py')
| -rw-r--r-- | addons/website/tests/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website/tests/__init__.py b/addons/website/tests/__init__.py index d2dd7916ecc..85ecad1cba8 100644 --- a/addons/website/tests/__init__.py +++ b/addons/website/tests/__init__.py @@ -2,6 +2,7 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. from . import test_converter +from . import test_get_current_website from . import test_qweb from . import test_crawl from . import test_ui |
