summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-06-26 16:52:44 +0000
committerRomain Derie <rde@odoo.com>2019-06-27 08:42:16 +0000
commitd82b897ea15b7dd5eb9bc34687d9380f25f216f7 (patch)
tree632a8753d53f41f31151fb3de544393b2f7d2dd0 /addons/web/static/src/js/views/basic/basic_model.js
parentb295723c999b94420e7ef2d3bddc040983c54f13 (diff)
[FIX] mail: use base_url helper to be multi website compliant
When an email is sent and is related to a record, there is a header with a button link to access the record. Before this commit, that button href was always linking to the base_url URL. That was an issue on multi-website, since we need to use the website url and not the base_url if the record is related to a website. That's the case for a SO eg, after checkout you receive a confirmation email. In a multi-website environment, we need to access the record website. To do so, a previous imp/fix was done with c1be1993f9b. But this occurence still needed to be replaced. Fixes #34309 closes odoo/odoo#34397 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions