From b9cc8b28db9e04afc727eb38c5ddbd8f85334325 Mon Sep 17 00:00:00 2001 From: PauBForgeFlow Date: Fri, 1 Dec 2023 11:35:12 +0100 Subject: [PATCH] [IMP] excel_import_export: Set import wizard filename --- excel_import_export/wizard/import_xlsx_wizard.py | 1 + excel_import_export/wizard/import_xlsx_wizard.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/excel_import_export/wizard/import_xlsx_wizard.py b/excel_import_export/wizard/import_xlsx_wizard.py index 3b12ccdf0..bd25bc6fd 100644 --- a/excel_import_export/wizard/import_xlsx_wizard.py +++ b/excel_import_export/wizard/import_xlsx_wizard.py @@ -14,6 +14,7 @@ class ImportXLSXWizard(models.TransientModel): _description = "Wizard for importing excel" import_file = fields.Binary(string="Import File (*.xlsx)") + filename = fields.Char("Import File Name") template_id = fields.Many2one( "xlsx.template", string="Template", diff --git a/excel_import_export/wizard/import_xlsx_wizard.xml b/excel_import_export/wizard/import_xlsx_wizard.xml index 6f8a68d54..b9e69d9dd 100644 --- a/excel_import_export/wizard/import_xlsx_wizard.xml +++ b/excel_import_export/wizard/import_xlsx_wizard.xml @@ -11,6 +11,7 @@ + @@ -18,6 +19,7 @@