[kmymoney] [Bug 462366] The currency conversion rate for EUR/XPF is wrong

2022-11-28 Thread Alexandre Bonneau via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=462366

Alexandre Bonneau  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

--- Comment #2 from Alexandre Bonneau  ---
Ok, my bad, it seems I have entered the 1000/8,38 ratio in both EUR -> XPF and
XPF -> EUR ratio.
This is fixed now.
Thanks for the hint.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 462366] New: The currency conversion rate for EUR/XPF is wrong

2022-11-28 Thread Alexandre Bonneau via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=462366

Bug ID: 462366
   Summary: The currency conversion rate for EUR/XPF is wrong
Classification: Applications
   Product: kmymoney
   Version: 5.1.3
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: general
  Assignee: kmymoney-devel@kde.org
  Reporter: alexandre.bonn...@linuxfr.eu
  Target Milestone: ---

SUMMARY
The currency conversion rate for EUR/XPF is wrong, leading to hugely wrong
dashboards and reports


STEPS TO REPRODUCE
1. You have an account with the total amount 680.056 XPF
2. In the value calculated in Euro is calculated to 81.152.267,14 € (this is
wrong)

The fixed ratio between EUR and XPF is equal to 1000/8,38 ~= 119,3317422.

OBSERVED RESULT & EXPECTED RESULT
When you have 680.056 XPF, you should do 680.056 / 119,33 ~= 5.698,86928€.
Currently Kmymoney does the inverse using 680.056 * 119,33  = 81.152.267,14 €.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 424507] Wish : Joint bank account

2020-07-23 Thread alexandre
https://bugs.kde.org/show_bug.cgi?id=424507

alexandre  changed:

   What|Removed |Added

 CC||alexan...@mont-web.ovh

--- Comment #3 from alexandre  ---
At the creation of the account, there could be a checkbox to check if the user
fully owns the account (checked by default). If the user unchecks this box,
he's able to set how much of the account he owns. 
This ratio (100% by default or the value set by the user) would be applied on
all expenses of this account in reports aggregating expenses from different
accounts. 
Thus it would be possible for someone who owns a shared bank account to see in
one report its personal budget, instead of having two manually aggregate two
reports (one for its personal account and another for its shared account).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 394366] New: "OK" button is missing in report configuration

2018-05-17 Thread Alexandre Berred
https://bugs.kde.org/show_bug.cgi?id=394366

Bug ID: 394366
   Summary: "OK" button is missing in report configuration
   Product: kmymoney
   Version: 5.0.1
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: reports
  Assignee: kmymoney-devel@kde.org
  Reporter: alexandre.ber...@gmail.com
  Target Milestone: ---

Created attachment 112705
  --> https://bugs.kde.org/attachment.cgi?id=112705=edit
Report window configuration

When configuring a report, it is impossible to modify it, since the "OK" button
is missing.
---
dpkg -s kmymoney
Package: kmymoney
Status: install ok installed
Priority: optional
Section: kde
Installed-Size: 12337
Maintainer: Ubuntu Developers 
Architecture: amd64
Version: 5.0.1-2
Depends: kio, libalkimia5-7 (>= 7.0), libaqbanking35 (>= 5.6.1beta), libc6 (>=
2.14), libgcc1 (>= 1:3.0), libgmp10, libgpgmepp6 (>= 1.10.0), libgwengui-cpp0,
libgwengui-qt5-0, libgwenhywfar60 (>= 3.11.6), libical3 (>= 3.0.0), libkchart2
(>= 2.6.0), libkf5activities5 (>= 4.96.0), libkf5akonadicore-bin,
libkf5akonadicore5abi1 (>= 4:16.12.3+git20170414), libkf5archive5 (>= 4.96.0),
libkf5codecs5 (>= 4.96.0), libkf5completion5 (>= 4.97.0), libkf5configcore5 (>=
4.98.0), libkf5configgui5 (>= 4.97.0), libkf5configwidgets5 (>= 5.23.0),
libkf5contacts5 (>= 15.07.90), libkf5coreaddons5 (>= 5.2.0), libkf5holidays5
(>= 15.12.0), libkf5i18n5 (>= 4.97.0), libkf5identitymanagement5abi1 (>=
16.04.3), libkf5itemmodels5 (>= 4.96.0), libkf5itemviews5 (>= 4.96.0),
libkf5jobwidgets5 (>= 4.96.0), libkf5kcmutils5 (>= 4.96.0), libkf5kiocore5 (>=
4.96.0), libkf5kiofilewidgets5 (>= 4.96.0), libkf5kiowidgets5 (>= 4.96.0),
libkf5notifications5 (>= 4.96.0), libkf5service-bin, libkf5service5 (>=
5.2.0+git20140930), libkf5sonnetui5 (>= 4.96.0), libkf5textwidgets5 (>=
4.96.0), libkf5wallet-bin, libkf5wallet5 (>= 4.96.0), libkf5webkit5 (>=
4.96.0), libkf5widgetsaddons5 (>= 4.96.0), libkf5xmlgui-bin, libkf5xmlgui5 (>=
4.98.0), libofx7, libpython2.7 (>= 2.7), libqt5core5a (>= 5.9.0~beta),
libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.8.0), libqt5network5 (>= 5.1.0),
libqt5printsupport5 (>= 5.0.2), libqt5quickwidgets5 (>= 5.3.0), libqt5sql5 (>=
5.0.2), libqt5webkit5 (>= 5.6.0~rc), libqt5widgets5 (>= 5.4.0), libqt5xml5 (>=
5.1.0), libstdc++6 (>= 5.2), libaqbanking35-plugins, kmymoney-common (=
5.0.1-2)
Recommends: gnupg-agent, pinentry-qt | pinentry-x11
Suggests: kcalc
Description: personal finance manager for KDE
 KMyMoney is the Personal Finance Manager for KDE. It operates similar to
 MS-Money and Quicken, supports different account types, categorisation of
 expenses, QIF import/export, multiple currencies and initial online banking
 support.
Original-Maintainer: Debian KDE Extras Team

Homepage: https://kmymoney.org/

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 391251] Double free or corruption when creating a new asset account.

2018-03-30 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=391251

--- Comment #28 from Alexandre <alexandre...@gmail.com> ---
The latest master works for me. No seg faults when creating an account Thanks,

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 391251] Double free or corruption when creating a new asset account.

2018-03-25 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=391251

--- Comment #18 from Alexandre <alexandre...@gmail.com> ---
It applies cleanly for me but does not fix the problem. It still fail with an
seg fault when creating an account.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 390716] Crash when entering a new account.

2018-02-19 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=390716

--- Comment #3 from Alexandre <alexandre...@gmail.com> ---
I have the same problem but only on my gentoo. On ubuntu I tried Qt 5.10.1 on
18.04 and kmymoney 5.0 works. In this trace the kmy file is empty (without
accounts) and I am trying to create the first account by "New account". The
error is:

ASSERT failure in QVector::at: "index out of range", file
../../include/QtCore/../../src/corelib/tools/qvector.h, line 424

A gdb backtrace follows:

GNU gdb (Gentoo 8.1 p1) 8.1 
Copyright (C) 2018 Free Software Foundation, Inc.   
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>   
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"  
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".   
Type "show configuration" for configuration details.
For bug reporting instructions, please see: 
<https://bugs.gentoo.org/>. 
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.   
For help, type "help".  
Type "apropos word" to search for commands related to "word"... 
Reading symbols from kmymoney...done.   
(gdb) run   
Starting program: /usr/bin/kmymoney 
[Thread debugging using libthread_db enabled]   
Using host libthread_db library "/lib64/libthread_db.so.1". 
[New Thread 0x7fffd8e47700 (LWP 28078)] 
Qt: Session management error: Could not open network socket 
[New Thread 0x7fffd2edc700 (LWP 28079)] 
WebConnect: Try to connect to WebConnect server 
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket. 
WebConnect: Running in server mode  
Plugins: checkprinting loaded   
Plugins: csvexporter loaded 
Plugins: csvimporter loaded 
Plugins: gncimporter loaded 
Plugins: icalendarexporter loaded   
Plugins: kbanking loaded
Plugins: kbanking pluged
Plugins: ofximporter loaded 
Plugins: qifexporter loaded 
Plugins: qifimporter loaded 
Plugins: reconciliation report loaded   
Online plugins found 2  
Cost center model created with items 0  
Payees model created with items 0   
reading file
start parsing file  
startDocument   
reading securities  
endDocument 
[New Thread 0x7fffc2ad4700 (LWP 28082)] 
[New Thread 0x7fff821cf700 (LWP 28083)] 
[New Thread 0x7fff81570700 (LWP 28084)] 
[New Thread 0x7fff80d6f700 (LWP 28085)] 
[New Thread 0x7fff7bfff700 (LWP 28086)] 
[New Thread 0x7fff7b7fe700 (LWP 28087)] 
ASSERT failure in QVector::at: "index out of range", file
../../include/QtCore/../../src/corelib/tools/qvector.h, line 424

Thread 1 "kmymoney" 

[kmymoney] [Bug 388963] New: qif importer fails with "you need to call KMyMoneySettings::instance before using"

2018-01-14 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=388963

Bug ID: 388963
   Summary: qif importer fails with "you need to call
KMyMoneySettings::instance before using"
   Product: kmymoney
   Version: git (master)
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: importer
  Assignee: kmymoney-devel@kde.org
  Reporter: alexandre...@gmail.com
  Target Milestone: ---

Created attachment 109859
  --> https://bugs.kde.org/attachment.cgi?id=109859=edit
Patch to 5.0 branch that fix settings for QIF importer

QIF importer is reporting the error "you need to call
KMyMoneySettings::instance before using" after showing the file selector
dialog. The patch that I attached fixed the problem but I do not think it is
using the new global settings. Please revise it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 388763] New: File selector does not show the correct files

2018-01-09 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=388763

Bug ID: 388763
   Summary: File selector does not show the correct files
   Product: kmymoney
   Version: git (master)
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: importer
  Assignee: kmymoney-devel@kde.org
  Reporter: alexandre...@gmail.com
  Target Milestone: ---

Created attachment 109777
  --> https://bugs.kde.org/attachment.cgi?id=109777=edit
Patch to kmymoney 5.0 branch

The setFilter options in the code are not set correctly (example Kmymoney .kmy
files) and on the ofx importer. The added patch fix the ones I could find. The
syntax according to documentation uses ";;"as a separator and always requires
the file selector.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: compile failure with git master

2017-12-31 Thread Alexandre Peixoto Ferreira
Thomas and Jack,

I have been having this error for a while and I can fix it by including
the files on dialog/CMakeLists.txt. It seems that some of widgets
dependencies are described there but not all. This patch seems to fix it.

Thanks,


On 12/31/2017 12:00 PM, Jack wrote:
> Thomas,
>
> On 2017.12.31 11:42, Thomas Baumgart wrote:
>> On Sonntag, 31. Dezember 2017 11:33:42 CET Jack Ostroff wrote:
>>
>> > With a fresh pull from git master, I get a compile failure
>> >
>> > [ 20%] Building CXX object
>> >
>> kmymoney/dialogs/CMakeFiles/dialogs.dir/kreportconfigurationfilterdlg.cpp.o
>> >
>> /path-to-source/kmymoney/dialogs/kreportconfigurationfilterdlg.cpp:61:33:
>> > fatal error: ui_reporttabgeneral.h: No such file or directory
>> >   #include 
>> >
>> > Looking at an old build folder I still have, that file appears in
>> > /path-to build/kmymoney/widgets/.  If I cd to that directory, type
>> > "make" there, and then resume make in the top build directory, it
>> > completes with no errors.
>> >
>> > I suspect that some recent change to the CMake files changed the order
>> > of things.
>
> Well, I also discovered two new build (actually cmake) issues.  First,
> it appears that building OFX is no longer the default.  I had to
> explicitly add -DENABLE_OFXIMPORTER=TRUE to my cmake line, because
> without it, it did NOT enable ofx.  (We also need to update README.ofx
> - I'll try to do that later today.)  Anyway, I also had some moc
> related warnings on "make install" but we'll see if they also go away
> if I fix this problem.  In addition, "Generate API documentation with
> Doxygen" is now "yes" and I don't think it used to be, and I know I do
> not address it directly in my cmake command.
>
>> Strange.
>> https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/
>> shows no problems with a build from scratch. And the part you mention
>> is not
>> optional.
>>
>> Try the following:
>>
>>   cd <>
>>   mv CMakeCache.txt CMakeCache.txt.old
>>   cmake <>  <>
>>   make
> OK, I started with an empty build dir, did cmake (with the explicit
> enabling of ofx,) and got the same error.  I then renamed
> CMakeCache.txt and reran cmake.  Same error.
> My cmake command is
>
> cmake -DCMAKE_BUILD_TYPE=Debug
> -DCMAKE_INSTALL_PREFIX=/home/jack/KDE/KMM/installframeworks
> -DLibAlkimia5_DIR=/home/jack/KDE/KMM/installframeworks/lib64/cmake/LibAlkimia-6.0
> -DENABLE_OFXIMPORTER=TRUE ../kmymoney-git
>
> and my build directory is parallel to the source directory.  However,
> I also tried with the build directory under the source directory, and
> had the same result.
>>
>> in case cmake worked
> cmake doesn't produce any errors, but make still fails.
>>
>>   rm CMakeCache.txt.old
>>
>> Regards
>> Thomas Baumgart
> just in case it matters, I have cmake 3.9.6, and Gnu make 4.2.1.  I'm
> currently using gcc 6.4.0.
>
> Jack

-- 
Alexandre P. Ferreira

diff --git a/kmymoney/dialogs/CMakeLists.txt b/kmymoney/dialogs/CMakeLists.txt
index f9dd18e6..6e81e0db 100644
--- a/kmymoney/dialogs/CMakeLists.txt
+++ b/kmymoney/dialogs/CMakeLists.txt
@@ -74,6 +74,8 @@ set(dialogs_UI
   ktemplateexportdlg.ui
   kupdatestockpricedlg.ui
   ../widgets/kaccounttemplateselector.ui ../widgets/transactionsortoption.ui
+  ../widgets/reporttabgeneral.ui ../widgets/reporttabrowcolpivot.ui
+  ../widgets/reporttabrowcolquery.ui ../widgets/reporttabchart.ui ../widgets/reporttabrange.ui ../widgets/reporttabcapitalgain.ui ../widgets/reporttabperformance.ui
   konlinetransferform.ui
 )
 


[kmymoney] [Bug 387781] New: Not able to reconciliate, kmymoney segfaults

2017-12-10 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=387781

Bug ID: 387781
   Summary: Not able to reconciliate, kmymoney segfaults
   Product: kmymoney
   Version: git (master)
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kmymoney-devel@kde.org
  Reporter: alexandre...@gmail.com
  Target Milestone: ---

Created attachment 109300
  --> https://bugs.kde.org/attachment.cgi?id=109300=edit
Patch for the reconcile segfault

Compiling from master (git commit 025388d54a2642435da00fa9949b9650da1ed75a).
Kmymoney segfaults when entering "Reconcile". 
The ui is not being setup so the field d->ui->m_statementInfoPageCheckings is
null and the line
d->ui->m_statementInfoPageCheckings->ui->m_enterInformationLabel->setText(QString("")
+ i18n("Please enter the following fields with the information as you find them
on your statement. Make sure to enter all values in %1.",
currency.name()) + QString("")); sefaults.
The attached patch seems to fix it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 366492] OFX Import dialog does not import OFX files

2017-08-05 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=366492

--- Comment #5 from Alexandre <alexandre...@gmail.com> ---
Thomas, thanks for the correction, that statement is redundant. I was debugging
some seg fault and changed this function a few times and forced that
initialization to check and forgot to remove it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 366492] OFX Import dialog does not import OFX files

2017-08-04 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=366492

Alexandre <alexandre...@gmail.com> changed:

   What|Removed |Added

 CC|    |alexandre...@gmail.com

--- Comment #2 from Alexandre <alexandre...@gmail.com> ---
Created attachment 107078
  --> https://bugs.kde.org/attachment.cgi?id=107078=edit
Patch to kmymoney.cpp to allow importing of OFX files

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney4] [Bug 375563] Forecast with set budget values

2017-01-26 Thread Pedro Alexandre Lopes
https://bugs.kde.org/show_bug.cgi?id=375563

Pedro Alexandre Lopes <pedro.lopes@gmail.com> changed:

   What|Removed |Added

   Platform|Windows CE  |Compiled Sources

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney4] [Bug 375563] Forecast with set budget values

2017-01-25 Thread Pedro Alexandre Lopes
https://bugs.kde.org/show_bug.cgi?id=375563

--- Comment #3 from Pedro Alexandre Lopes <pedro.lopes@gmail.com> ---
Created attachment 103645
  --> https://bugs.kde.org/attachment.cgi?id=103645=edit
Report configuration screen

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney4] [Bug 375563] Forecast with set budget values

2017-01-25 Thread Pedro Alexandre Lopes
https://bugs.kde.org/show_bug.cgi?id=375563

--- Comment #2 from Pedro Alexandre Lopes <pedro.lopes@gmail.com> ---
Created attachment 103644
  --> https://bugs.kde.org/attachment.cgi?id=103644=edit
Cash Flow Forecast with past trends and scheduled transaction on MS Money

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney4] [Bug 375563] Forecast with set budget values

2017-01-25 Thread Pedro Alexandre Lopes
https://bugs.kde.org/show_bug.cgi?id=375563

--- Comment #1 from Pedro Alexandre Lopes <pedro.lopes@gmail.com> ---
Created attachment 103643
  --> https://bugs.kde.org/attachment.cgi?id=103643=edit
"Cash Flow Forecast" obtained on KMM

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney4] [Bug 375563] New: Forecast with set budget values

2017-01-25 Thread Pedro Alexandre Lopes
https://bugs.kde.org/show_bug.cgi?id=375563

Bug ID: 375563
   Summary: Forecast with set budget values
   Product: kmymoney4
   Version: 4.8.0
  Platform: Windows CE
OS: MS Windows
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: general
  Assignee: kmymoney-devel@kde.org
  Reporter: pedro.lopes@gmail.com
  Target Milestone: ---

Created attachment 103642
  --> https://bugs.kde.org/attachment.cgi?id=103642=edit
Cash Flow Forecast with Budget Items on MS Money

Thanks so much for your attention.

MS Money has an option to use amounts from the current budget (difference for
the current month and the full budget for the next months) to forecast the cash
flow. It will forecast cash flow for the selected accounts based on the active
budget. In the category setting, it's possible to select an account so the
forecast budget values might be considered.

I couldn't do that with KMM, not even with reports.

So, the feature i'm proposing is, alike the forecastiong with scheduled
transactions or based on past trends, we have another setting that forecasts
with the values set on the budget, or somehow include that feature on the
reports.

I'm also attaching four images that somewhat shows what i'm talking about.

In one, it's possible to se the budget items in the cashflow forecast with MS
Money, in the other, you can see what i could obtain with KMM, the other one
shows how the "past trends" works on MS Money (can be compared with the KMM
version, it's almost equal), and the last one shows the report configuration
screen where (like the scheduled transactions) the feature could be
implemented.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 374527] New: Payee error matching when importing statements

2017-01-04 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=374527

Bug ID: 374527
   Summary: Payee error matching  when importing statements
   Product: kmymoney
   Version: unspecified
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: General
  Assignee: kmymoney-devel@kde.org
  Reporter: alexandre...@gmail.com
  Target Milestone: ---

Created attachment 103187
  --> https://bugs.kde.org/attachment.cgi?id=103187=edit
Patch to fix payee matching (fix commit
5ecbe8f8a74fbf14fbbac06ea418731aa51d884c)

The current version of the commit 5ecbe8f8a74fbf14fbbac06ea418731aa51d884c does
not interpret correctly the return value of the QRegExp indexIn function. The
function returns the index of the first character where the string is found.
The attached patch corrects that allowing the matching of the string to the
payee to occur.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 374526] New: Seg fault when import ofx file

2017-01-04 Thread Alexandre
https://bugs.kde.org/show_bug.cgi?id=374526

Bug ID: 374526
   Summary: Seg fault when import ofx file
   Product: kmymoney
   Version: unspecified
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: General
  Assignee: kmymoney-devel@kde.org
  Reporter: alexandre...@gmail.com
  Target Milestone: ---

Created attachment 103186
  --> https://bugs.kde.org/attachment.cgi?id=103186=edit
patch file that fixes seg fault on KMyMoneyApp::account

The current version on Github (commit 5ecbe8f8a74fbf14fbbac06ea418731aa51d884c)
seg faults when importing an ofx file. I traced the problem to the function
KMyMoneyApp::account in the file kmymoney.cpp. The following patch fixes that,
it seems that something get destroyed when the function returns getting a seg
fault on the QString Qt code.

-- 
You are receiving this mail because:
You are the assignee for the bug.