[FIX] Give id instead of recordset.

pull/367/head
Adrien Peiffer (ACSONE) 2017-01-09 19:20:43 +01:00 committed by Jordi Ballester
parent 5334f86762
commit 11a0d77fe4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class AbstractTest(TransactionCase):
# Check if report template is correct # Check if report template is correct
report_html = self.env['report'].get_html( 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(self.report_title.encode('utf8') in report_html)
self.assertTrue( self.assertTrue(