mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] report_xlsx: Migration to 13.0
This commit is contained in:
committed by
Alex Cuellar
parent
bfc46ffcb8
commit
adb71709e1
@@ -15,7 +15,7 @@ class ReportAction(models.Model):
|
||||
report_model_name = "report.%s" % self.report_name
|
||||
report_model = self.env.get(report_model_name)
|
||||
if report_model is None:
|
||||
raise UserError(_("%s model was not found" % report_model_name))
|
||||
raise UserError(_('%s model was not found') % report_model_name)
|
||||
return report_model.with_context(active_model=self.model).create_xlsx_report( # noqa
|
||||
docids, data
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user