changeset 9241b14e3383 in modules/currency_rs:default
details: 
https://hg.tryton.org/modules/currency_rs?cmd=changeset&node=9241b14e3383
description:
        Add option to remove leading and trailing white spaces from char

        issue7914
        review340511008
diffstat:

 currency.py |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 5bd45dad6598 -r 9241b14e3383 currency.py
--- a/currency.py       Mon May 02 16:45:34 2022 +0200
+++ b/currency.py       Mon Sep 19 21:25:55 2022 +0200
@@ -39,9 +39,9 @@
         'invisible': Eval('source') != 'nbs_rs',
         }
 
-    rs_username = fields.Char("Username", states=_states)
-    rs_password = fields.Char("Password", states=_states)
-    rs_license_id = fields.Char("License ID", states=_states)
+    rs_username = fields.Char("Username", states=_states, strip=False)
+    rs_password = fields.Char("Password", states=_states, strip=False)
+    rs_license_id = fields.Char("License ID", states=_states, strip=False)
     rs_list_type = fields.Selection(
         'get_rs_list_types', "List Type", states=_states)
     _rs_list_types = Cache(__name__ + '.get_rs_list_types', context=False)

Reply via email to