paybox: choices must be a list (#43030)

This commit is contained in:
Valentin Deniaud 2020-05-19 11:31:32 +02:00
parent c038a9f2d0
commit e71b798493
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class Payment(PaymentCommon):
'caption': _('Capture Mode'), 'caption': _('Capture Mode'),
'default': 'IMMEDIATE', 'default': 'IMMEDIATE',
'required': False, 'required': False,
'choices': PAYMENT_MODES.keys() 'choices': list(PAYMENT_MODES)
}, },
{ {
'name': 'manual_validation', 'name': 'manual_validation',