[15.0][MIG] base_report_to_printer: Migration to 15.0

This commit is contained in:
David Montull
2022-03-04 13:52:14 +01:00
parent 50932588ad
commit 9384082e96
4 changed files with 23 additions and 27 deletions

View File

@@ -27,13 +27,17 @@ class TestReport(common.HttpCase):
</t>""",
}
)
self.report_imd = self.env["ir.model.data"].create(
{
"name": "test",
"module": "base_report_to_printer",
"model": "ir.ui.view",
"res_id": self.report_view.id,
}
self.report_imd = (
self.env["ir.model.data"]
.sudo()
.create(
{
"name": "test",
"module": "base_report_to_printer",
"model": "ir.ui.view",
"res_id": self.report_view.id,
}
)
)
self.report = self.Model.create(
{