[kmymoney4] [Bug 360129] CSV Importer doesn't recognize sell operation

NSLW via KDE Bugzilla bugzilla_noreply at kde.org
Sun Mar 6 15:37:27 UTC 2016


--- Comment #11 from NSLW <lukasz.wojnilowicz at gmail.com> ---
(In reply to allan from comment #10)
> (In reply to NSLW from comment #8)
> > Created attachment 97709 [details]
> > csvimporterrc snippet
> > 
> > I looked in csvimporterrc and found that
> > 1) BuyParam=kup
> > 
> > "kup" is an verb, while "kupno" is noun. Maybe KMyMoney detects "kupno" by
> > regular expression.  
> It's just "type.contains(*it, Qt::CaseInsensitive", so fairly loose to
> improve matching chance.  Do you see any problem with that?

It works with my Buy operations, but I would like it to work also with my Sell
operations out of the box. I think that "type.contains(*it,
Qt::CaseInsensitive)" is harmless here.

> > 2) SellParam=
> > 
> > after setting this parameter to "Sprzedaż" my sell operations are recognized
> > correctly, but why isn't that preset just like BuyParam? Maybe SellParam
> > isn't preset because of last letter in "Sprzedaż", which is diacritic letter.
> I would have to throw that one back to you, as I didn't edit that file. 
> Might you not have been the translator then?

"Sprzedaż" is meant too look like this so no need to edit it. What I meant by
above is: Could there be an sort of encoding problem in KMyMoney with that
Polish letter, which in the end prevents positive recognition?

> > As another suggestion, i think it is good to expand context from "verb" to "Action/Type as 
> > recognized by CSV Importer"
> Perhaps that would make sense as you are a user as well as a translator?  
> I'm not sure that a non-investment-wise translator might understand?

As it is now was also misleading to me, to today although I'm an fresh KMyMoney
user :) and translator, so maybe another suggestion will sound better to an
"Type of operation as in financial statement"

> So, apart from the fee query, are you now in business?

After manually editing csvimporterrc file, fee is imported just right for all
operations. What do you mean by me being in business?

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

More information about the KMyMoney-devel mailing list