[Kmymoney-devel] [Bug 266665] New: Changing an accounting entry from "withdrawal" to "transfer" must negate amount

Ian Hubbertz kde_bugs at hubbertz.de
Sat Feb 19 13:34:58 CET 2011


https://bugs.kde.org/show_bug.cgi?id=266665

           Summary: Changing an accounting entry from "withdrawal" to
                    "transfer" must negate amount
           Product: kmymoney4
           Version: 4.5.2
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: kde_bugs at hubbertz.de


Version:           4.5.2 (using KDE 4.6.0) 
OS:                Linux

I'm using the aqbanking(HBCI) module for my bank account. Everything works fine
and a lot of things are working automatically (kmymoney finds the correct
category etc.), but there is one problem with transfers (e.g. ATM withdrawals).

A ATM withdrawal is a transfer to another ("Cash") account, so I change the
withdrawal to "transfer" (BTW: this happens automatically if you select an
"account" as category). The problem is, that a transfer is a positive
transaction for this account. So, if you change a withdrawal to transfer, the
sign of the amount must be changed.

Some problem also applies when transfering money to other accounts like credit
card, custody account etc. 

Reproducible: Always

Steps to Reproduce:
1. Use aqbanking or QIF import to import new entries to your account.
2. Select an account instead of a category in the "Category" field
   ---> type is changed from "withdrawal" to "transfer"
3. Accept the change
4. The amount is now in the "deposit" column instead of the "payment" column
and 

Actual Results:  
-> Transfers (e.g. ATM withdrawal) is summed up wrong for the account if the
user does not change sign of the amount.

Expected Results:  
-> Amount should be negated, when changing a withdrawal to transfer so the user
does not have to change the sign manually.

OS: Linux (x86_64) release 2.6.37-gentoo
Compiler: x86_64-pc-linux-gnu-gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list