From 7801ea381e23b81d0247041c48d43ebaa5d51b58 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 13 Mar 2024 22:27:52 +0100 Subject: [PATCH] [IMP] account_statement_import_sheet_file: add quote as thousand separator --- .../models/account_statement_import_sheet_mapping.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py b/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py index 5782f784..2db12553 100644 --- a/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py +++ b/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py @@ -15,7 +15,12 @@ class AccountStatementImportSheetMapping(models.Model): ) float_thousands_sep = fields.Selection( string="Thousands Separator", - selection=[("dot", "dot (.)"), ("comma", "comma (,)"), ("none", "none")], + selection=[ + ("dot", "dot (.)"), + ("comma", "comma (,)"), + ("quote", "quote (')"), + ("none", "none"), + ], default="dot", ) float_decimal_sep = fields.Selection( @@ -217,6 +222,7 @@ class AccountStatementImportSheetMapping(models.Model): separators = { "dot": ".", "comma": ",", + "quote": "'", "none": "", } return (