marinho / geraldo

Geraldo is a reports engine for Python and Django applications. It uses the power of ReportLab and PIL to generate reports with page header and footer, child bands, report begin and summary bands, agreggation and graphic elements, etc.

Home Page:http://geraldoreports.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better context in SubReport

lcnandre opened this issue · comments

In the detail_band of subreports, it uses the attributes from the subreport queryset, but in the band_header of subreport, it uses the attributes from the master report.

The suggestion is to make all of the bands in a subreport to get the attributes from the subreport's queryset, or making a filter to choose from what queryset to get the attributes from.