Jam.py documentation

report_filename

report_filename

domain: client

language: python

class Report class

Description

When the template attribute of the report is specified, the generate method saves the content of the generated report to a file in a report folder of the static directory and set the value of the report_filename attribute to the name of the saved file.

Its value can be used in the on_after_generate event handler.