diff options
| author | Rémi Rahir <rar@odoo.com> | 2019-09-12 11:04:58 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-09-12 13:21:48 +0000 |
| commit | 3f401e3e2f8ad5d8b2c43ad96b331433b7b8d9a0 (patch) | |
| tree | 51f9c74f84c1319656cf32bbd2eef014d6fc723e /addons/web/static/src/scss/modal.scss | |
| parent | 4895b452c1f3868c8c2f8c9dfa856c5a066f3aa3 (diff) | |
[FIX] snailmail: do not decode null objects
Prior to this commit, we would try to decode the logo of a company
without any verification on its presence. If the logo was not set, we'd
try to decode nothing which caused a crash.
This commit ensure that we asert that the field is set before trying to
encode it for a JSON payload.
closes odoo/odoo#36784
X-original-commit: f40f763831bace8c499072ea81ef9bbd5fc910e4
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/scss/modal.scss')
0 files changed, 0 insertions, 0 deletions
