change currencies integer constants to ISO code strings
This commit is contained in:
parent
407774937d
commit
6099560b8c
11 changed files with 24 additions and 39 deletions
|
|
@ -49,8 +49,8 @@ class Recipient(CapBaseObject, Currency):
|
|||
Recipient of a transfer.
|
||||
"""
|
||||
|
||||
label = StringField('Name')
|
||||
currency = IntField('Currency', default=Currency.CUR_UNKNOWN)
|
||||
label = StringField('Name')
|
||||
currency = StringField('Currency', default=None)
|
||||
|
||||
def __init__(self):
|
||||
CapBaseObject.__init__(self, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue