summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorqho <qho@odoo.com>2020-04-28 12:30:15 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-30 12:53:04 +0000
commitf1fcc805742c7cf3c125afd98c74a81340b67c67 (patch)
treef8d4bfef223ca765f065f470c5cafbf5c061813c /addons/web/static/tests/fields/basic_fields_tests.js
parent4566cf2e57db887b4e3b9d9d2b3e1e62e4a9b67a (diff)
[FIX] base: fix "Original Bill" when file is image
1. Create an invoice and upload a picture file as the only attachment 2. Try to print "origin bill" for the invoice (From the invoice tree view select one and click print > origin bill ) An error will raise "PIL.PdfParser.PdfFormatError: trailer end not found". Fixing by using another BytesIO object as the output. opw-2244625 closes odoo/odoo#50469 X-original-commit: 378551193d8199cfab13b06a48aa706f420a7823 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions