strip EUR from amount strings

This commit is contained in:
Romain Bignon 2012-07-31 16:48:52 +02:00
commit a7c024e3bc

View file

@ -41,7 +41,7 @@ class FrenchTransaction(Transaction):
Clean a string containing an amount.
"""
return text.replace(' ', '').replace('.','').replace(u'\xa0', '') \
.replace(',','.').strip(u' \t\u20ac\xa0\x80\n\r')
.replace(',','.').strip(u' \t\u20ac\xa0\x80\n\rEUR')
def set_amount(self, credit='', debit=''):
"""