diff options
| author | Olivier Dony <odo@openerp.com> | 2011-01-04 12:54:19 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-01-04 12:54:19 +0100 |
| commit | 15c38f45dfb927d133355b6edfd64e185962240a (patch) | |
| tree | 01e4b25406d1a04358b49f2366c056d57d8f1b81 /addons/analytic_user_function/security | |
| parent | 4ae76de3ded8acdac9a4569397f1fe904bf8d955 (diff) | |
[FIX] report_sxw: fix printing odt/sxw reports after regression from fix for bug 670778
The original fix introduced a safety mechanism for avoiding transmission of invalid binary data via
XML-RPC, but caused an issue for binary function fields that do not carry data as base64.
This patch fixes this problem with the printing of odt/sxw reports (via odt2odt) which does
rely on non-base64 binary data for the sxw content.
By re-decoding the unicode-wrapped binary data using the pass-through charset latin1 we
are sure to restore the original byte values, hence the original file content.
bzr revid: odo@openerp.com-20110104115419-fa4pv1dc63f83dxi
Diffstat (limited to 'addons/analytic_user_function/security')
0 files changed, 0 insertions, 0 deletions
