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

            Bug ID: 420557
           Summary: Broken transaction group after CSV import
           Product: skrooge
           Version: Trunk from git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: guillaume.deb...@gmail.com
          Reporter: bernhard+...@scheirle.de
                CC: steph...@mankowski.fr
  Target Milestone: ---

Hi,

transaction groups are not properly imported from csv files. 
This depends on the order of the operations in the csv file.

Following csv file will be imported correctly:

date;account;idgroup;idtransaction;value;unit
2020-04-04;A;1;2;1;€
2020-04-04;A;1;2;2;€
2020-04-04;B;1;0;3;Share

Results in 2 Transactions: A split transaction (containing 1+2€) in account A,
and a transaction in account B (3 Shares).
Both transactions are grouped together.


If we now change the order and move the transaction in account B to the top,
the import will be incorrect:

date;account;idgroup;idtransaction;value;unit
2020-04-04;B;1;0;3;Share
2020-04-04;A;1;2;1;€
2020-04-04;A;1;2;2;€

Results in 2 Transactions: A split transaction (containing 1+2€) in account A,
and a transaction in account B (3 Shares).
But these transactions are not grouped together.

Regards
Bernhard

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

Reply via email to