From 9db74de0ace9943502d90bb2e9ff556b6f0e045f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 19 Sep 2022 21:25:55 +0200 Subject: [PATCH] Add option to remove leading and trailing white spaces from char issue7914 review340511008 --- currency.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/currency.py b/currency.py index 502e02f6fb..c90c2c938a 100644 --- a/currency.py +++ b/currency.py @@ -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.")