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

            Bug ID: 385277
           Summary: Wrong budget for split-operations with unaligned dates
           Product: skrooge
           Version: Trunk from git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: guillaume.deb...@gmail.com
          Reporter: bernhard+...@scheirle.de
                CC: steph...@mankowski.fr
  Target Milestone: ---

Created attachment 108122
  --> https://bugs.kde.org/attachment.cgi?id=108122&action=edit
Example skrooge file

If the sub-operations of a split-operation are using a different date than the
split-operation itself, the budget for these sub-operations gets calculated
wrongly:
The sub-operations get treated with the date of the split-operation.

Example (also see attached skrooge file):
* Monthly budget for category "Cat1" is 50€

* Standard-operation:
* * 2017.09.25 - Cat1 - 50€ - [A]

* Split-operation with two sub-operations:
* * 2017.09.29 - 100€
* * * 2017.10.01 - Cat1 - 50€ - [B]
* * * 2017.10.01 - Cat2 - 50€

Actual Result:
The amount for the Cat1 budget is:
2017.09 - 100€ (A + B) (Budget contains operations of September and October)
2017.10 -   0€

Expected Result:
The amount for the Cat1 budget is:
2017.09 - 50€ (A)
2017.10 - 50€ (B)

Note: Reports do use the date of the sub-operations correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to