trunk-report-rml2pdf no use attr Parent in tag paraStyle

Bug #980689 reported by freeExec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

The specification reportlab for the tag "paraStyle" is an attribute of "parent." But in your code, it is not used.
For some reason, always use the default style of Normal, although you can use is a certain style to it.

..\openerp\report\render\rml2pdf\trml2pdf.py
Now:
self.styles_obj[sname] = reportlab.lib.styles.ParagraphStyle(sname, self.default_style["Normal"], **self.styles[sname])

But should (if present parent):
self.styles_obj[sname] = reportlab.lib.styles.ParagraphStyle(sname, self.styles_obj[parentname], **self.styles[sname])

Tags: report
freeExec (freeexec)
description: updated
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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