Hello community,

here is the log from the commit of package kmymoney for openSUSE:Factory 
checked in at 2016-09-20 13:26:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kmymoney (Old)
 and      /work/SRC/openSUSE:Factory/.kmymoney.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kmymoney"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kmymoney/kmymoney.changes        2016-07-18 
21:23:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kmymoney.new/kmymoney.changes   2016-09-20 
13:26:55.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Sep 15 21:01:31 UTC 2016 - nico.kru...@gmail.com
+
+- add kmymoney-4.8.0-fix-csv-import-account-type.patch which fixes
+  the default CSV import to credit card accounts (kde#364425)
+
+-------------------------------------------------------------------

New:
----
  kmymoney-4.8.0-fix-csv-import-account-type.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kmymoney.spec ++++++
--- /var/tmp/diff_new_pack.cOk32I/_old  2016-09-20 13:26:56.000000000 +0200
+++ /var/tmp/diff_new_pack.cOk32I/_new  2016-09-20 13:26:56.000000000 +0200
@@ -24,6 +24,8 @@
 Group:          Productivity/Office/Finance
 Url:            http://www.kmymoney.org/
 Source0:        
http://download.kde.org/stable/kmymoney/%{version}/src/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM kmymoney-4.8.0-fix-csv-import-account-type.patch 
kde#364425
+Patch1:         kmymoney-4.8.0-fix-csv-import-account-type.patch
 BuildRequires:  aqbanking-devel
 BuildRequires:  boost-devel
 BuildRequires:  fdupes
@@ -80,6 +82,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %cmake_kde4 -d build

++++++ kmymoney-4.8.0-fix-csv-import-account-type.patch ++++++
From: Łukasz Wojniłowicz <lukasz.wojnilow...@gmail.com>
Date: Sat, 18 Jun 2016 17:15:02 +0000
Subject: Set type of banking statement to unknown during CSV import
X-Git-Url: 
http://quickgit.kde.org/?p=kmymoney.git&a=commitdiff&h=9c5397238947c8a010eb2e0939cb34d729dfb751
---
Set type of banking statement to unknown during CSV import

Type of banking statement shouldn't be set to 'checkings' by default,
bacause statement to be imported could be 'checking' but also 'credit
card'.

BUG: 364425
---


--- a/kmymoney/plugins/csvimport/csvdialog.cpp
+++ b/kmymoney/plugins/csvimport/csvdialog.cpp
@@ -821,7 +821,7 @@
   m_screenUpdated = false;
 
   //  Display the buffer
-
+  st.m_eType = MyMoneyStatement::etNone;
   for (int line = 0; line < m_lineList.count(); line++) {
     m_inBuffer = m_lineList[line];
 
@@ -1398,7 +1398,6 @@
   QString payee = m_trData.payee;//                              
extractLine('P')
   // Process transaction data
   tr.m_strBankID = m_trData.id;
-  st.m_eType = MyMoneyStatement::etCheckings;
   tr.m_datePosted = m_trData.date;
   if (!tr.m_datePosted.isValid()) {
     int rc = KMessageBox::warningContinueCancel(0, i18n("The date entry \"%1\" 
read from the file cannot be interpreted through the current "


Reply via email to