summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2017-02-14 12:14:11 +0100
committerNicolas Martinelli <nim@odoo.com>2017-02-14 12:14:23 +0100
commit7a03f9ce934814aaf7e8b57a0a16fff487b9e1b8 (patch)
tree6182ee4d0a6d20f5eef4fb553192229baf5bb246 /doc/reference/javascript.rst
parente8f1c5dbc66afe0a1185c49e06f78dd7e17ebac7 (diff)
[FIX] web, sale, account: company logo
The notification mail template of a SO and an Invoice displays the logo of the company. However, the logo is always the logo of the superuser's company. When accessing the logo from an email client, the UID is not defined. Therefore, we fall back on the superuser, and display the logo of his company. We add the support of a `company` key in the kwargs, so we can force the company from which we retrieve the logo. Note that this key was used elsewhere, such as: addons/web/static/src/js/web_client.js opw-705420
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions