diff options
| author | Hiral Bhavsar <hbh@odoo.com> | 2019-10-15 13:14:59 +0000 |
|---|---|---|
| committer | Hiral Bhavsar <hbh@odoo.com> | 2019-12-26 11:39:59 +0000 |
| commit | 78a64fed28e9ef332f67969bcf72be5f7af40544 (patch) | |
| tree | fd2b120d0ecbdaff4d5ce58c2223d84494d55849 /addons/website/static/src | |
| parent | de5896e7277d698cfca9751a19f1287185811903 (diff) | |
[FIX] website: display correct website logo on SEO dialog
Currently, the website logo is not displayed on SEO dialog and instead the
company logo is being displayed.
After recent changes (see [1]), company logo and website logo are now
different and so changes were not adapted on the website.
This commit fixes the issue by adapting the changes and displaying the
correct website logo on the SEO dialog.
[1] - https://github.com/odoo/odoo/commit/8be4567ae8f6b0388206c091590278ef11a2df21
task-2083006
closes odoo/odoo#42391
X-original-commit: 9c75960e931bc77530074f60997cced4b5907d3e
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/menu/seo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/menu/seo.js b/addons/website/static/src/js/menu/seo.js index 60bc2318955..a4e9995dbbc 100644 --- a/addons/website/static/src/js/menu/seo.js +++ b/addons/website/static/src/js/menu/seo.js @@ -538,7 +538,7 @@ var MetaImageSelector = Widget.extend({ this.metaTitle = data.title || ''; this.activeMetaImg = data.metaImg; this.serverUrl = data.htmlpage.url(); - data.pageImages.unshift(_.str.sprintf('/web/image/res.company/%s/logo', odoo.session_info.website_company_id)); + data.pageImages.unshift(_.str.sprintf('/web/image/website/%s/logo', odoo.session_info.website_id)); data.pageImages.unshift(_.str.sprintf('/web/image/website/%s/social_default_image', odoo.session_info.website_id)); this.images = _.uniq(data.pageImages); this.customImgUrl = _.contains(data.pageImages, data.metaImg) ? false : data.metaImg; |
