[MIG] account_financial_report: Migration to 12.0

[IMP] Reformated one query to avoid one sql injection warning message - but no sql injection was possible here
This commit is contained in:
Wolfgang Pichler
2019-01-16 19:38:26 +01:00
committed by chaule97
parent 3de3a119e5
commit 9f9211b6ea
20 changed files with 86 additions and 61 deletions

View File

@@ -160,7 +160,7 @@ class OpenItemsReportCompute(models.TransientModel):
'report_open_items_qweb'
return self.env['ir.actions.report'].search(
[('report_name', '=', report_name),
('report_type', '=', report_type)], limit=1).report_action(self)
('report_type', '=', report_type)], limit=1).report_action(self, config=False)
def _get_html(self):
result = {}