From 11a0d77fe4cb3cbbe178f5aa008e4229b784c1fc Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Mon, 9 Jan 2017 19:20:43 +0100 Subject: [PATCH] [FIX] Give id instead of recordset. --- account_financial_report_qweb/tests/abstract_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report_qweb/tests/abstract_test.py b/account_financial_report_qweb/tests/abstract_test.py index 232ad1f4..fbf69fe8 100644 --- a/account_financial_report_qweb/tests/abstract_test.py +++ b/account_financial_report_qweb/tests/abstract_test.py @@ -41,7 +41,7 @@ class AbstractTest(TransactionCase): # Check if report template is correct report_html = self.env['report'].get_html( - self.report, self.qweb_report_name + self.report.id, self.qweb_report_name ) self.assertTrue(self.report_title.encode('utf8') in report_html) self.assertTrue(