mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[IMP] account_statement_import_sheet_file: add quote as thousand separator
This commit is contained in:
committed by
Rocío Vega
parent
53812bb738
commit
7801ea381e
@@ -15,7 +15,12 @@ class AccountStatementImportSheetMapping(models.Model):
|
|||||||
)
|
)
|
||||||
float_thousands_sep = fields.Selection(
|
float_thousands_sep = fields.Selection(
|
||||||
string="Thousands Separator",
|
string="Thousands Separator",
|
||||||
selection=[("dot", "dot (.)"), ("comma", "comma (,)"), ("none", "none")],
|
selection=[
|
||||||
|
("dot", "dot (.)"),
|
||||||
|
("comma", "comma (,)"),
|
||||||
|
("quote", "quote (')"),
|
||||||
|
("none", "none"),
|
||||||
|
],
|
||||||
default="dot",
|
default="dot",
|
||||||
)
|
)
|
||||||
float_decimal_sep = fields.Selection(
|
float_decimal_sep = fields.Selection(
|
||||||
@@ -217,6 +222,7 @@ class AccountStatementImportSheetMapping(models.Model):
|
|||||||
separators = {
|
separators = {
|
||||||
"dot": ".",
|
"dot": ".",
|
||||||
"comma": ",",
|
"comma": ",",
|
||||||
|
"quote": "'",
|
||||||
"none": "",
|
"none": "",
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user