odoo/openerp
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
..
addons [FIX] base: backport of 152c5c2 to 7.0 2015-01-22 13:34:19 +01:00
cli [FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update 2014-10-24 16:24:50 +02:00
conf cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready. 2012-12-09 18:04:47 +01:00
modules [FIX] loading: always process auto-installed modules for new databases 2014-09-17 15:11:01 +02:00
osv [FIX] orm: prevent pgerrors from raising `UnicodeDecodeError` 2015-01-12 15:35:23 +01:00
report [FIX] report: break lines and splitted words with reportlab > 3.0 2015-01-22 14:23:38 +01:00
service [FIX] over-eager merge b270e4f 2015-01-12 16:45:27 +01:00
tests [FIX] tools.translate: when loading entries from a PO file, use also the POT. 2014-08-13 23:07:40 +02:00
tools [FIX] base: keep first multiline translation in po file 2015-01-16 13:05:46 +01:00
workflow [MERGE] From trunk (second time) 2012-12-17 15:47:53 +01:00
.apidoc API doc: move settings file from bin/ to openerp/ 2011-06-23 12:08:07 +03:00
PKG-INFO [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
__init__.py [FIX] timezone: under windows os.environ["TZ"] was not affecting the server, 2013-03-07 13:16:37 +01:00
exceptions.py [FIX] xmlrpc: handle old/new exceptions with old/new clients. 2011-09-30 10:50:12 +02:00
import_xml.rng [IMP] rng: forbid redundant @type for menuitem, now inferred from the action type + minor cleanup 2012-08-22 16:49:46 +02:00
loglevels.py [FIX] incorrect docstrings or docstring param names not matching actual param names 2012-12-14 14:07:58 +01:00
netsvc.py [FIX] add the logging handler only to the root logger. let the loggers propagate to allow more than one handler 2014-03-12 18:18:19 +01:00
pooler.py [IMP] cron: remove useless pooljobs and schedule_cron_jobs methods 2012-12-21 14:37:51 +01:00
release.py [FIX] we are not in alpha anymore 2013-01-03 18:08:09 +01:00
sql_db.py [FIX] sql_db: close db connexions before removing them. 2014-12-21 19:50:56 +01:00