[kmymoney] [Bug 412429] No display of transactions in the tags view when tags are specified in a split

Ralf Habacker bugzilla_noreply at kde.org
Sat Oct 5 11:58:15 BST 2019


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

--- Comment #9 from Ralf Habacker <ralf.habacker at freenet.de> ---
Tags are always defined in splits. Adding a tag to a transaction adds the tag
to the first split (see first transaction in test file)

 <TRANSACTIONS count="3">
  <TRANSACTION postdate="2019-02-08" commodity="EUR" memo=""
id="T000000000000000001" entrydate="2019-02-08">
   <SPLITS>
    <SPLIT payee="" reconcileflag="0" shares="1/1" reconciledate="" action=""
bankid="" account="A000001" number="1" value="1/1"
memo="test-transaction-tag-1" id="S0001">
     <TAG id="G000001"/>
    </SPLIT>
    <SPLIT payee="" reconcileflag="0" shares="-1/1" reconciledate="" action=""
bankid="" account="A000002" number="" value="-1/1"
memo="test-transaction-tag-1" id="S0002"/>
   </SPLITS>
  </TRANSACTION>

Tags added with the tag editor are added to splits starting with the second
split (see second transaction)

  <TRANSACTION postdate="2019-02-08" commodity="EUR" memo=""
id="T000000000000000002" entrydate="2019-02-08">
   <SPLITS>
    <SPLIT payee="" reconcileflag="0" shares="10/1" reconciledate="" action=""
bankid="" account="A000001" number="2" value="10/1" memo="test-split-tag-2"
id="S0001"/>
    <SPLIT payee="" reconcileflag="0" shares="-10/1" reconciledate="" action=""
bankid="" account="A000002" number="" value="-10/1" memo="test-split-tag-2"
id="S0002">
     <TAG id="G000002"/>
    </SPLIT>
   </SPLITS>
  </TRANSACTION>

Fetching tags from second and further splits is not implemented in 
MyMoneyTransactionFilter::match(const MyMoneyTransaction& transaction) yet.

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


More information about the KMyMoney-devel mailing list