Summary: | Transactions with no category assigned cause a "Sum of splits is not zero" consistency error | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Paul Worrall <p.r.worrall> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | minor | ||
Priority: | NOR | ||
Version First Reported In: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Paul Worrall
2022-11-15 11:07:33 UTC
Actually, there ARE splits - but only one, and so the transaction is not balanced. A normal, non-split transaction actually has two splits: one for the money moving in or out of the account, and the other for where the money went to or came from, usually a category, but another account in case the transaction is a transfer. This is an unfortunate confusion based on use of the term "split." I believe that warning was added to the consistency check to catch a different type of problem, but it also catches these. I suppose you can think of this as a side effect of KMM essentially enforcing double-entry bookkeeping, and also the use of Accounts to represent Categories internally. Within a transaction, all funds coming from somewhere also have to go somewhere. What is your use case for having transactions without a category? In my experience, almost all such transactions have been imported and not yet accepted. Thanks for your explanation Jack, I hadn't thought of the two ends of a transaction being "splits". I can now see why uncategorised transactions are "unbalanced". Maybe it should be in the manual if it isn't already. My use case is that I have some old transactions which are uncategorised, in accounts that are now closed, that hadn't been bothering me with 5.1.3 because they didn't raise a consistency error, and I don't remember what they were for so I don't know what category to assign to them. Some of them were imported and not accepted, though accepting them doesn't of itself assign a category. I guess I could add a "Don't Know" category just to suppress the consistency report I can imagine this being raised again and again when more people start using this version of KMM Sorry for raising a bug for something that is just my misunderstanding, feel free to close this as RESOLVED/INTENTIONAL I have several "misc" categories (under different higher level grouping categories) for just that sort of reason. I'll check the manual again, but I'm pretty sure it is mentioned. |