lims: global results report: bugfix

This commit is contained in:
Adrián Bernardi 2021-09-14 09:42:22 -03:00 committed by Adrián Bernardi
parent efebf5ec84
commit 7e5f217c15
1 changed files with 3 additions and 3 deletions

View File

@ -4825,9 +4825,9 @@ class PrintGlobalResultReport(Wizard):
if not cache:
raise UserError(gettext('lims.msg_global_report_build'))
results_report.report_language.report_cache = cache
results_report.report_language.report_format = 'pdf'
results_report.report_language.save()
results_report.report_cache = cache
results_report.report_format = 'pdf'
results_report.save()
return 'print_'