summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Deniaud <vdeniaud@entrouvert.com>2020-05-19 09:31:32 (GMT)
committerValentin Deniaud <vdeniaud@entrouvert.com>2020-05-19 09:31:32 (GMT)
commite71b798493373cb7630cf2705e3011324c839840 (patch)
tree8a7ec68760e7fcfdfb297bc45f3830d4c8bccbf9
parentc038a9f2d0e6106f9a6f16bdde1ca2acc7871f4f (diff)
downloadeopayment-e71b798493373cb7630cf2705e3011324c839840.zip
eopayment-e71b798493373cb7630cf2705e3011324c839840.tar.gz
eopayment-e71b798493373cb7630cf2705e3011324c839840.tar.bz2
paybox: choices must be a list (#43030)
-rw-r--r--eopayment/paybox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eopayment/paybox.py b/eopayment/paybox.py
index 2fc4bb7..90931db 100644
--- a/eopayment/paybox.py
+++ b/eopayment/paybox.py
@@ -263,7 +263,7 @@ class Payment(PaymentCommon):
'caption': _('Capture Mode'),
'default': 'IMMEDIATE',
'required': False,
- 'choices': PAYMENT_MODES.keys()
+ 'choices': list(PAYMENT_MODES)
},
{
'name': 'manual_validation',