Add option to remove leading and trailing white spaces from char
issue7914 review340511008
This commit is contained in:
1 parent
fda22e9e8d
commit
aeac67dfb8
1 file changed
+4
-4
+4
-4
@@ -20,14 +20,14 @@ class CredentialDPD(sequence_ordered(), ModelSQL, ModelView, MatchMixin):
|
||||
__name__ = 'carrier.credential.dpd'
|
||||
|
||||
company = fields.Many2One('company.company', 'Company')
|
||||
user_id = fields.Char('User ID', required=True)
|
||||
password = fields.Char('Password', required=True)
|
||||
user_id = fields.Char('User ID', required=True, strip=False)
|
||||
password = fields.Char('Password', required=True, strip=False)
|
||||
server = fields.Selection([
|
||||
('testing', 'Testing'),
|
||||
('production', 'Production'),
|
||||
], 'Server')
|
||||
depot = fields.Char('Depot', readonly=True)
|
||||
token = fields.Char('Token', readonly=True)
|
||||
depot = fields.Char('Depot', readonly=True, strip=False)
|
||||
token = fields.Char('Token', readonly=True, strip=False)
|
||||
|
||||
@classmethod
|
||||
def default_server(cls):
|
||||
|
||||
Reference in new issue
Block a user