summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-05-28 12:38:52 +0000
committerAaron Bohy <aab@odoo.com>2020-05-28 14:30:57 +0000
commitc8f4098a514f4ec6c763507989efa4d76f1f09df (patch)
treef9ae8d71f8e7923f6390fa570f04cf17cff84dc9 /addons/web/static/src/js/views/basic/basic_renderer.js
parent98d1c550903525d635d2487d6736174715200b56 (diff)
[FIX] base: restore _clean_website on res.partner
Commit d5d2c5524c improved the UrlWidget s.t. it automatically prefixes the url with 'http://' if no protocol is specified (except for own website paths). In addition, it removed a logic specific to model res.partner that automatically prefixes the saved website values with 'http://'. However, the second part should not have been done: those urls can be displayed without UrlWidget (e.g. on the website), and in this case, the protocol wouldn't be set, meaning that it would behave like a relative link. closes odoo/odoo#52113 X-original-commit: 5a8690bb64cb3dc01ee8d4f9af3a6ab91eee8b99 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions