r18402 - gnucash/trunk/src/import-export - Fix amount sign of imported bank transfers (e.g. from DTAUS file).

Christian Stimming cstim at code.gnucash.org
Sat Oct 31 15:58:52 EDT 2009


Author: cstim
Date: 2009-10-31 15:58:49 -0400 (Sat, 31 Oct 2009)
New Revision: 18402
Trac: http://svn.gnucash.org/trac/changeset/18402

Modified:
   gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c
   gnucash/trunk/src/import-export/hbci/gnc-hbci-gettrans.c
Log:
Fix amount sign of imported bank transfers (e.g. from DTAUS file).

Usually an imported DTAUS file describes debit notes, which means "our
account" is credited (and the other debited). But DTAUS can also contain
transfers, which means "our account" is debited. In the DTAUS case, the
value would still be positive, so we have to query the transaction type
for this case as well. This is now fixed. (Needs aqbanking-4.1.10 though
because the earlier versions forgot to set the TypeTransfer.)



More information about the gnucash-patches mailing list