odoo/openerp/report
Denis Ledoux 25f5329deb [FIX] report: break lines and splitted words with reportlab > 3.0
From reportlab 3.0, empty plaintext paragraphs do not lead to a break line anymore.
Before release 3.0, paragraphs having tags but no plaintext leaded to a break line.
This patch aims to recover the behavior of reportlab releases < 3.0, as
<para><font color="white"> </font></para> is used in allmost all rml reports
The current patch is not considered as clean, but we did not find any better solution.
If someone find a parameter to pass to reportlab in order to bring back the old behavior of reportlab
he is welcome to provide the better patch.

Besides, in reportlab 3.0, splitlongwords has been introduced as parameter,
to allow to break long words. The default value is True.
This parameter seems to break the columns headers
(it splits the text within the column header)
We therefore take the choice to not activate it, as it was not present anyway in reportlab < 3.0

To test the good behavior of this patch:
While having reportlab < 3.0 (2.5 for instance), print a draft invoice
Then, upgrade to reportlab > 3.0 (3.1.8 for instance), print the same draft invoice.
The generated pdf must be (allmost) identical, in particular concerning spaces.
Specifically, the space between the partner address and his phone.
2015-01-22 14:23:38 +01:00
..
printscreen [REM] trailing semicolons 2012-12-14 13:43:10 +01:00
pyPdf [IMP] more augmented assignments 2012-12-14 14:44:55 +01:00
render [FIX] report: break lines and splitted words with reportlab > 3.0 2015-01-22 14:23:38 +01:00
__init__.py [FIX] the embedded pychart library is not used. 2012-02-08 16:08:15 +01:00
common.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
custom.py [REM] unnecessary parens 2012-12-14 13:38:03 +01:00
int_to_text.py [REM] unnecessary parens 2012-12-14 13:38:03 +01:00
interface.py [FIX] misplaced docstrings 2012-12-14 13:42:43 +01:00
misc.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
preprocess.py [REF] openerp.report: use the recommended syntax to raise error and never use empty except:. 2012-02-08 18:02:17 +01:00
print_fnc.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
print_xml.py [REF] openerp.report: fix weird indentation, not multiple of four. 2012-02-08 18:04:56 +01:00
report_sxw.py [IMP] report_sxw: missing parameter without_company for display_address 2014-08-27 16:55:02 +02:00