CrAgr: when transferring money, the reason was not optional as expected. (closes #696)
This commit is contained in:
parent
573521523d
commit
13aa381335
1 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue