Add option to remove leading and trailing white spaces from char

issue7914
review340511008
This commit is contained in:
Cédric Krier committed 2022-09-19 21:25:55 +02:00
1 parent 30c15d18f6
commit 9db74de0ac
1 file changed
+2 -1
+2 -1
View File
@@ -35,7 +35,8 @@ class Currency(
__name__ = 'currency.currency'
name = fields.Char('Name', required=True, translate=True,
help="The main identifier of the currency.")
symbol = fields.Char('Symbol', size=10, required=True,
symbol = fields.Char(
"Symbol", size=10, required=True, strip=False,
help="The symbol used for currency formating.")
code = fields.Char('Code', size=3, required=True,
help="The 3 chars ISO currency code.")