add country of transaction
This commit is contained in:
parent
ccc516211c
commit
baab7311b8
1 changed files with 1 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ class Transaction(BaseObject):
|
||||||
# International
|
# International
|
||||||
original_amount = DecimalField('Original amount (in another currency)')
|
original_amount = DecimalField('Original amount (in another currency)')
|
||||||
original_currency = StringField('Currency of the original amount')
|
original_currency = StringField('Currency of the original amount')
|
||||||
|
country = StringField('Country of transaction')
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<Transaction date=%r label=%r amount=%r>" % (self.date, self.label, self.amount)
|
return "<Transaction date=%r label=%r amount=%r>" % (self.date, self.label, self.amount)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue