summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-01-29 16:11:16 +0100
committerXavier Morel <xmo@odoo.com>2015-01-29 16:11:16 +0100
commit3d85eaa591f2935d4a7bef58286ba5cf7a4121ff (patch)
tree54f994b59ba9eda21348a0fb0a8a853a09338b00 /addons/analytic_user_function
parent54e75b0286fa089aa4d2f2810b62642936396bba (diff)
[FIX] correctly handle empty binary fields in saveas
Original code assumed the empty field would be missing or an empty string, b64decoding an empty string yields an other empty string which triggered a "not found" response. However Odoo returns ``False`` in case of an empty field, so that needs to be replaced by an empty string before decoding, as b64decode doesn't accept booleans as input (for some reason...)
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions