mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] report_csv: Migration to 13.0
This commit is contained in:
@@ -24,6 +24,8 @@ class TestReport(common.TransactionCase):
|
||||
self.docs = self.env["res.company"].search([], limit=1).partner_id
|
||||
|
||||
def test_report(self):
|
||||
# Test if not res:
|
||||
self.env["ir.actions.report"]._get_report_from_name("TEST")
|
||||
report = self.report
|
||||
self.assertEqual(report.report_type, "csv")
|
||||
rep = report.render(self.docs.ids, {})
|
||||
|
||||
Reference in New Issue
Block a user