summaryrefslogtreecommitdiff
path: root/setup/setup_dev.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-09-07 10:47:02 +0200
committerXavier Morel <xmo@odoo.com>2017-09-07 10:47:02 +0200
commit6bb6944e6b8bce7c50ee46c1350f3c70012cd476 (patch)
treec27053e36c7ea1ebe165f4b6379b53f1b7a29f55 /setup/setup_dev.py
parent9dff6516e44cbafa769216355ded11c95a099cc8 (diff)
[FIX] P3: resizing of image *fields*
Fields sent from the client are pretty much always *text*. This can be problematic for image fields sent as base64 *text* as in Python 3 the base64 routines only work between bytes. Alter the core field-resizing function (image_get_resized_images) such that it ensures text base64 sources are encoded back to bytes before being forwarded to the main resizing routines (which I don't think should deal with *that* issue). Fixes #18985: error when trying to update a company's logo
Diffstat (limited to 'setup/setup_dev.py')
0 files changed, 0 insertions, 0 deletions