[MIG] sql_export_excel: Migration to 15.0

This commit is contained in:
Maksym Yankin
2022-01-31 16:04:01 +02:00
parent 502100ebab
commit 094cacfc67
5 changed files with 18 additions and 17 deletions

View File

@@ -17,9 +17,10 @@ except ImportError:
class TestExportSqlQueryExcel(TransactionCase):
def setUp(self):
super().setUp()
self.wizard_obj = self.env["sql.file.wizard"]
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.wizard_obj = cls.env["sql.file.wizard"]
def get_workbook_from_query(self, wizard):
wizard.export_sql()