rml2pdf: empty lines are removed from the pdf result

Bug #1157048 reported by Olivier Laurent (Acsone)
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D
OpenERP Community Backports (Server)
Status tracked in 7.0
6.1
Fix Released
Undecided
Unassigned
7.0
Fix Released
Undecided
Olivier Laurent (Acsone)

Bug Description

Empty lines, typically in a note field of an invoice line, a sale order line or a purchase order line, are lost in the pdf result of a rml report.

Steps to reproduce:
- create a new 6.1 database with demo data
- install account_voucher module (accepting all default options about chart of accounts and taxes)
- create a new customer invoice
- add an invoice line with a note (or a description in V7.0) of 3 lines of text which the second is empty
- print the invoice => the blank line does not appear between the first and third lines

Tested config.:
- OS: Ubuntu and Windows
- reportlab library version: 2.5 and 2.6
- server branches: lp:~openerp/openobject-server/6.1, lp:~openerp/openobject-server/7.0 and lp:~openerp/openobject-server/trunk

Related branches

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Olivier ,

I have checked your issue , you are right blank line is remove from report pdf.
But Its not a bug its feature.But its good improvement ,So I am confirming this
issue.

Thanks.

Changed in openobject-server:
importance: Undecided → Wishlist
status: New → Confirmed
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Changed in ocb-server:
assignee: nobody → Olivier Laurent (Acsone) (olivier-laurent)
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Resetting to fix committed on OCB as my colleague observed the need for a non breaking space in some cases.

Revision history for this message
Tilfried Weissenberger (tilli-6) wrote :

so what's the deal here? Fixed but never released??

Revision history for this message
Ronald Portier (Therp) (rportier1962) wrote :

Hello Tilfried,

The bugfixes have been merged in the community backports (now on: http://github.com/OCA/odoo).

In the 'plain' odoo the fixes have not been merged.

That is the reason behind the community backports.

Kind regards,

Ronald

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.