diff options
| author | Dhruv Patel <dhp@odoo.com> | 2019-12-17 09:31:20 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-01-30 14:03:36 +0000 |
| commit | d5d2c5524c0890e0d89ff2029995bb4bed941421 (patch) | |
| tree | 5685b8acfe40901d5353b435382e6a17352d165e /addons/mail/static/tests/thread_window/basic_thread_window_tests.js | |
| parent | eec0b80756557ecd543a50f25b8f63f94e23de7c (diff) | |
[FIX] base,web: url widget: add protocol in href
With this commit, the url widget automatically prefixes the href
url by http:// if no protocol is specified, so that clicking on
the url will by default redirect to an external website.
To prevent this behavior, one can still specify the new option
'website_path: true' on the url field node in the view arch.
Thanks to this, we can remove a similar logic (only implemented on
res_partner model) which automatically altered the value saved in
database to force its 'http://' prefix.
task-2153184
closes odoo/odoo#42118
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/mail/static/tests/thread_window/basic_thread_window_tests.js')
0 files changed, 0 insertions, 0 deletions
