diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-02-06 09:50:38 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-02-06 09:50:38 +0000 |
| commit | c1be1993f9bcd11f3fdff78e81ea71e518c15779 (patch) | |
| tree | 72045b536b781e963e4e6354b9ff84ceb20a5fbf /addons/website/tests/__init__.py | |
| parent | 3b256ba487df8ed3ef28eddec25af75ce3be4677 (diff) | |
[FIX] *: share URL on the correct website if possible
* = base, auth_signup, mail, portal, sale, website, website_sale
Before this commit, sending an object by email would always link to web.base.url
even if the object was created from a specific website.
Now if the object has a website, we use the URL of that website if it is set.
The fallback will always be on the web.base.url.
opw-1921030
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 1c57eeab793..d2dd7916ecc 100644 --- a/addons/website/tests/__init__.py +++ b/addons/website/tests/__init__.py @@ -8,3 +8,4 @@ from . import test_ui from . import test_views from . import test_menu from . import test_page +from . import test_website_reset_password |
