mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] Don't confuse API detection
This commit is contained in:
@@ -35,7 +35,7 @@ class Reports(main.Reports):
|
||||
report_xml = http.request.session.model('ir.actions.report.xml')
|
||||
report_ids = report_xml.search(
|
||||
[('report_name', '=', action['report_name'])],
|
||||
0, False, False, context)
|
||||
0, False, False, context=context)
|
||||
for report in report_xml.browse(report_ids):
|
||||
if not report.download_filename:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user