<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>309774</bug_id>
          
          <creation_ts>2012-11-08 21:38:06 +0000</creation_ts>
          <short_desc>CSV Plugin - Wishlist: Ability to copy an investment activity type or detail/description to memo field.</short_desc>
          <delta_ts>2024-12-20 20:21:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>general</component>
          <version>git (master)</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="allan">agander93</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/kmymoney/eaf56f886f2c127c2624f8571cf6107215adcc9f</cf_commitlink>
          <cf_versionfixedin>4.7.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1313673</commentid>
    <comment_count>0</comment_count>
    <who name="allan">agander93</who>
    <bug_when>2012-11-08 21:38:06 +0000</bug_when>
    <thetext>A while ago, I added a similar feature for non-investment transactions, to be able to copy the payee field of a CSV file to the memo field.  At that time, I didn&apos;t see a need for a similar facility with investment transactions.  Since then, however, I&apos;ve found myself having to copy/paste from the activity type field, or the description/detail field to the memo field.  Sometimes, there may be no suitable type field, but the needed type may be present in a description field, and this can be extracted to use as the activity type, but there can be other data in that field which does not get imported.
So, I&apos;ve now implemented this, mainly in investprocessing.cpp.  However, I&apos;ve also made a few changes in csvdialog.cpp, in order to keep some measure of similarity between the two main object files.
Tested with many different format files.


Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1314192</commentid>
    <comment_count>1</comment_count>
    <who name="allan">agander93</who>
    <bug_when>2012-11-10 13:17:19 +0000</bug_when>
    <thetext>Git commit eaf56f886f2c127c2624f8571cf6107215adcc9f by Allan Anderson.
Committed on 08/11/2012 at 23:36.
Pushed by allananderson into branch &apos;master&apos;.

M  +85   -54   kmymoney/plugins/csvimport/csvdialog.cpp
M  +2    -1    kmymoney/plugins/csvimport/csvdialog.h
M  +1    -3    kmymoney/plugins/csvimport/csvutil.cpp
M  +6    -6    kmymoney/plugins/csvimport/investmentwizardpage.ui
M  +133  -42   kmymoney/plugins/csvimport/investprocessing.cpp
M  +7    -3    kmymoney/plugins/csvimport/investprocessing.h
M  +3    -3    kmymoney/plugins/csvimport/redefinedlg.cpp
M  +1    -1    kmymoney/plugins/csvimport/redefinedlgdecl.ui

http://commits.kde.org/kmymoney/eaf56f886f2c127c2624f8571cf6107215adcc9f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>