paybox: list platforms choices (#46323)
This commit is contained in:
parent
de91a4302d
commit
1ee8871eda
|
@ -200,8 +200,11 @@ class Payment(PaymentCommon):
|
|||
'name': 'platform',
|
||||
'caption': _('Plateforme cible'),
|
||||
'default': 'test',
|
||||
'validation': lambda x: isinstance(x, six.string_types)
|
||||
and x.lower() in ('test', 'prod'),
|
||||
'choices': (
|
||||
('test', 'Test'),
|
||||
('backup', 'Backup'),
|
||||
('prod', 'Production'),
|
||||
)
|
||||
},
|
||||
{
|
||||
'name': 'site',
|
||||
|
|
Loading…
Reference in New Issue