[MIG] sql_export: Migration to 18.0

This commit is contained in:
David Beal
2025-01-17 14:22:17 +01:00
parent 96439ef0da
commit e387ac8483
7 changed files with 16 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ class SqlFileWizard(models.TransientModel):
# Call different method depending on file_type since the logic will be
# different
method_name = "%s_get_data_from_query" % sql_export.file_format
method_name = f"{sql_export.file_format}_get_data_from_query"
data = getattr(sql_export, method_name)(variable_dict)
extension = sql_export._get_file_extension()
self.write(