summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_form.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-01-23 12:47:04 +0100
committerDenis Ledoux <dle@odoo.com>2015-01-23 12:54:30 +0100
commitc62a75a5f3eb08f5fefe69706858a438361cb73d (patch)
tree8c9f2c233468963010f983c458bd71bce7754538 /addons/web/static/src/js/view_form.js
parentd5c72344748045441728d3a546d11f970f8526e4 (diff)
[FIX] report: line splitting compatible with reportlab > 3.0
While keeping the compatibility for reportlab 2.5. Splitting the text node on line breaks '\n' leaded to orphans ending tags, like '</font>', which is regarded by reportlab 3.0 as a paragraph, and reportlab therefore surrounded these tags by <para> tags, which leaded to not syntax correct html like <para></font></para> To test this patch: - While having reportlab > 3.0 - Create a rml report containing (at least) '<font>\n</font>' - Then print the report. It must not crash (obviously)
Diffstat (limited to 'addons/web/static/src/js/view_form.js')
0 files changed, 0 insertions, 0 deletions