Browse Source

[FIX] Give id instead of recordset.

pull/240/head
Adrien Peiffer (ACSONE) 8 years ago
committed by Stéphane Bidoul (ACSONE)
parent
commit
588923de06
  1. 2
      account_financial_report_qweb/tests/abstract_test.py

2
account_financial_report_qweb/tests/abstract_test.py

@ -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(

Loading…
Cancel
Save