mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
report_custom_filename : filename is not mandatory
This commit is contained in:
@@ -37,7 +37,7 @@ class Reports(main.Reports):
|
||||
[('report_name', '=', action['report_name'])],
|
||||
0, False, False, context)
|
||||
for report in report_xml.read(report_ids, fields=['download_filename']):
|
||||
if not report['download_filename']:
|
||||
if not report.get('download_filename'):
|
||||
continue
|
||||
objects = req.session.model(context['active_model'])\
|
||||
.browse(context['active_ids'])
|
||||
|
||||
Reference in New Issue
Block a user