[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2021-05-27 Thread antoine
https://bugs.kde.org/show_bug.cgi?id=397020

--- Comment #12 from antoine  ---
thank you for your feedback
I just wanted to make sure that it was not a new bug

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2021-05-27 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=397020

--- Comment #11 from Thomas Baumgart  ---
Looking at the demo file, the opening balances for A000103, A000108, A000109,
A000111, A000112 and A000113 are not taken into account, because these are
investment (or better security) accounts. KMyMoney currently does not support
the concept of an opening balance transaction for security accounts.

Entering a 'Buy' transaction and charge it against the opening balances does
not solve the problem because we need a transaction against an opening balances
account denominated in the investments security. Not an easy fix because it
needs additional UI components and maybe more which I am currently not aware
of.

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2021-05-24 Thread antoine
https://bugs.kde.org/show_bug.cgi?id=397020

antoine  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #10 from antoine  ---
I think that the value of the opening balance is not correct, some accounts are
not taken into account (cash and security accounts)

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2021-05-24 Thread antoine
https://bugs.kde.org/show_bug.cgi?id=397020

--- Comment #9 from antoine  ---
Thank you for your work,
I have just download the latest appimage and erased accounts A07 and
A000123 and it works :)

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2021-05-23 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=397020

--- Comment #8 from Thomas Baumgart  ---
A few problems come together on this one which cause the failure on your end.
The main problem is, that KMyMoney is unable to detect the opening balance
transaction of your accounts. To catch another case I updated the logic with
the recent commits (which are needed for this to work with anonymized data
files).

Another problem is in your data file. To get things working properly I needed
to remove two accounts from your file (they are unused, so no problem). Remove
the extraneous equity accounts A07 and A000123 and the result is what you
are looking for.

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2021-05-23 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=397020

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit|https://commits.kde.org/kmy |https://invent.kde.org/offi
   |money/d5210daac1f89d84cbf56 |ce/kmymoney/commit/ab7ccb10
   |d23860e064ad90cbabf |b3a8830f23bcbef88bfb8231ece
   ||5035f
 Status|REOPENED|RESOLVED
   Version Fixed In|5.0.2   |5.1.2

--- Comment #7 from Thomas Baumgart  ---
Git commit ab7ccb10b3a8830f23bcbef88bfb8231ece5035f by Thomas Baumgart.
Committed on 23/05/2021 at 14:59.
Pushed by tbaumgart into branch '5.1'.

Add more options to find a corresponding opening balances account
FIXED-IN: 5.1.2

(cherry picked from commit 53b7b2bba26dbd0e0e657646c173ab8f8c430472)

M  +22   -4kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/commit/ab7ccb10b3a8830f23bcbef88bfb8231ece5035f

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2021-05-23 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=397020

--- Comment #6 from Thomas Baumgart  ---
Git commit 53b7b2bba26dbd0e0e657646c173ab8f8c430472 by Thomas Baumgart.
Committed on 23/05/2021 at 14:50.
Pushed by tbaumgart into branch 'master'.

Add more options to find a corresponding opening balances account

M  +22   -4kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/commit/53b7b2bba26dbd0e0e657646c173ab8f8c430472

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2020-07-13 Thread antoine
https://bugs.kde.org/show_bug.cgi?id=397020

--- Comment #5 from antoine  ---
Hi,

This bug is also in the latest version of Kmymoney
KMyMoney-5.1.0-74a8f0d-x86_64.AppImage (under Xubuntu 20.04)

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2020-03-23 Thread antoine
https://bugs.kde.org/show_bug.cgi?id=397020

--- Comment #4 from antoine  ---
Created attachment 126975
  --> https://bugs.kde.org/attachment.cgi?id=126975&action=edit
demo file

Here is a demo file, look at report R07

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2020-03-22 Thread antoine
https://bugs.kde.org/show_bug.cgi?id=397020

antoine  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED

--- Comment #3 from antoine  ---
Are you sure this has been solved ?

I have the same behavior with KMyMoney-5.0.8-029de47-x86_64.AppImage ...

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2018-09-08 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=397020

Thomas Baumgart  changed:

   What|Removed |Added

 CC||d.o.sc...@unb.ca

--- Comment #2 from Thomas Baumgart  ---
*** Bug 392407 has been marked as a duplicate of this bug. ***

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2018-08-05 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=397020

Thomas Baumgart  changed:

   What|Removed |Added

   Version Fixed In||5.0.2

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

[kmymoney] [Bug 397020] Opening dates in "all dates" plot

2018-08-05 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=397020

Thomas Baumgart  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kmy
   ||money/d5210daac1f89d84cbf56
   ||d23860e064ad90cbabf

--- Comment #1 from Thomas Baumgart  ---
Git commit d5210daac1f89d84cbf56d23860e064ad90cbabf by Thomas Baumgart.
Committed on 05/08/2018 at 14:24.
Pushed by tbaumgart into branch 'master'.

Fix y-offset of graph for all dates

Summary:
The left most value in a networth graph (called the opening balance) is
calculated based on the closing balance of the date prior to the
selected start date. This is perfectly OK but leads to the logical
consequence that if the user selects "all dates" as the date range this
value will be zero.

Since the opening balance is the first transaction it would make sense
to use the opening balance if the above is the case. This way, the graph
starts out at the level of the sum of included opening balances and not
zero, which avoids an initial edge to be displayed.

This change does exactly that and solves the problem.

Test Plan: Use the same data used to generate  [[
https://bugsfiles.kde.org/attachment.cgi?id=114236 | the graph attached to the
bug ]] and verify that the edge on the left is not painted anymore.

Reviewers: antoine

Reviewed By: antoine

Differential Revision: https://phabricator.kde.org/D14624

M  +13   -0kmymoney/plugins/views/reports/core/pivottable.cpp

https://commits.kde.org/kmymoney/d5210daac1f89d84cbf56d23860e064ad90cbabf

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