← Back to team overview

openerp-india team mailing list archive

[Bug 980689] Re: trunk-report-rml2pdf no use attr Parent in tag paraStyle

 

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/980689

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

Status in OpenERP Server:
  Confirmed

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])

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/980689/+subscriptions


References