[Kmymoney-devel] Tags suggestion

Alessandro Russo axela74 at yahoo.it
Wed Jan 23 21:59:57 UTC 2013


Il 08/01/2013 00:27, mk-lists at email.de ha scritto:
> Hi Alessandro,
>
> I wish you a Happy New Year!
>
> I noticed one thing concerning tags:
>
> I was making use of a tag for a business trip and just couldn't figure out why the figures wouldn't add up as expected.
>
> Finally I realized that the error was this:
>
>       - Assume you have a transaction T1 with a certain tag in account A.
>       - That transaction T1 transfers the money to account B.
>       - On account B there is another transaction T2 which compensates for T1.
>       - In account B transaction T1 is actually seen as a T1', since the tag present in T1 is not assigned here anymore.
>
> => When I now sum up everything T1' is missing.
>
>
> So, I guess, what the code should/could do - by default - is to assign the tag to both transactions, the outgoing in A as well as the incoming in B.
>
>
> But, perhaps I am just missing something.
>
> Greets,
> Marko
Hi Marko,
sorry if I reply only.

At this time only on the first account of the transaction is added the 
tag/tags. This work well in a normal deposit/withdrawal as the first 
account is a category not a real user account but maybe not so well with 
a transfer between two accounts.

I'm reposting this in the mailing list so that others can give some 
suggestions.

Should we add the tag/tags to each transaction (a transaction in the 
engine is composed of at least two transaction, one that operate on a 
category or account and the other that operate on an account)?

Or should we do this only for transfer transactions?

Bye,
  Alessandro



More information about the KMyMoney-devel mailing list