From 5a7ce8573ec371a86e0336df00e15511d392ffb5 Mon Sep 17 00:00:00 2001 From: Mantux11 Date: Fri, 30 Dec 2022 14:39:10 +0000 Subject: [PATCH] [15.0][FIX] excel_import_export, excel_import_export_demo: fix from PR #2283 together with @luc-demeyer suggestion #2283 (review) --- excel_import_export/models/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/excel_import_export/models/common.py b/excel_import_export/models/common.py index 0c8d9535b..e0e92bdf4 100644 --- a/excel_import_export/models/common.py +++ b/excel_import_export/models/common.py @@ -334,7 +334,7 @@ def _add_id_column(file_txt): if line and i == 0: line = '"id",' + line elif line: - line = "{}.{}".format("xls", uuid.uuid4()) + "," + line + line = f"__excel_import_export__.{uuid.uuid4()},{line}" txt_lines.append(line) i += 1 file_txt = "\n".join(txt_lines)