[IMP] account_statement_import_sheet_file: add quote as thousand separator

This commit is contained in:
Alexis de Lattre
2024-03-13 22:27:52 +01:00
committed by Rocío Vega
parent 53812bb738
commit 7801ea381e

View File

@@ -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 (