Message 64187

Author
ced
Date
2021-01-31.19:55:19
Message id
64187

Content

I have a better idea that allows to keep CompanyReport and does not need to modify all the reports.
The idea is to group the records of the report per headers. If there are more than 1 header, then template is execute for the records of the same header and put in a zip (like for the single report). The headers are defined by a key function on the Report class that can be extended. The CompanyReport extends it to group by company attribute of the record and add the company record to the context.

History
Date User Action Args
2021-01-31 19:55:19cedsetmessageid: <1612119319.5163417.GT4ABS6EMYAZK5C5.issue6760@tryton.org>
2021-01-31 19:55:19cedsetrecipients: + timitos, pokoli, reviewbot
2021-01-31 19:55:19cedlinkissue6760 messages
2021-01-31 19:55:19cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)