CrAgr: when transferring money, the reason was not optional as expected. (closes #696)

This commit is contained in:
Xavier G 2011-08-14 20:22:43 +02:00 committed by Romain Bignon
commit 13aa381335

View file

@ -161,6 +161,7 @@ class Cragr(BaseBrowser):
self['numCompteBeneficiaire'] = ['%s' % self.dict_find_value(target_accounts, to)] self['numCompteBeneficiaire'] = ['%s' % self.dict_find_value(target_accounts, to)]
self['montantPartieEntiere'] = '%s' % amount_euros self['montantPartieEntiere'] = '%s' % amount_euros
self['montantPartieDecimale'] = '%02d' % amount_cents self['montantPartieDecimale'] = '%02d' % amount_cents
if reason != None:
self['libelle'] = reason self['libelle'] = reason
self.submit() self.submit()