Summary: | Add an USD dividend to an account in CHF but otherwise base currency in EUR does not work | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Robby Engelmann <robby.engelmann> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | robby.engelmann |
Priority: | NOR | ||
Version First Reported In: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | example case |
Description
Robby Engelmann
2023-03-23 21:27:09 UTC
Can you create a sample .kmy file that contains the accounts and securities as you have them and explain which transaction cannot be created? Thanks in advance. I tried to make a new Book with an Investment Account (Currency: CHF), but failed due to this message:
>Unable to create account: Account has no name /home/abuild/rpmbuild/BUILD/kmymoney-5.1.80git2428~48e4749/kmymoney/mymoney/mymoneyfile.cpp:1264
Whatsoever, I gave it a name.
In the git master version from Tumbleweed Unstable/Extra repo, it is not possible to add any transaction to accounts that are not in the base currency. If it is in base currency (here: EUR) I can add transactions. (In reply to Robby Engelmann from comment #2) > I tried to make a new Book with an Investment Account (Currency: CHF), but > failed due to this message: > > >Unable to create account: Account has no name /home/abuild/rpmbuild/BUILD/kmymoney-5.1.80git2428~48e4749/kmymoney/mymoney/mymoneyfile.cpp:1264 > > Whatsoever, I gave it a name. This was reported in bug 468144 and has been fixed. (In reply to Robby Engelmann from comment #3) > In the git master version from Tumbleweed Unstable/Extra repo, it is not > possible to add any transaction to accounts that are not in the base > currency. If it is in base currency (here: EUR) I can add transactions. Can you explain the steps (account creation, transaction creation) you perform with as much detail as possible? I am unable to duplicate the problem, so I must be doing something different. Thanks in advance. Currently I cannot test the fix for account creation, because kmymoney fails to build in the Unstable:Extra repo against frameworks + plasma git master repos. My approach to test this would be: 1. create a new kmy-file, base currency = EUR 2. create new account with CHF as currency 3. Try to add a new transaction to this account Can also test here, when kmymoney will pass the build and the account fix then integrated. Build problem fixed in https://invent.kde.org/office/kmymoney/-/commit/aff549c165b7a5f0db5b94b2a7188d6fe34db528 Created attachment 157964 [details]
example case
Using the example case... 1. try to add an transaction to account TEST (EUR) --> works 2. try to add an transaction to account TEST2 (CHF) --> does not work, nothing added hope you can replicate the issue here Can you replicate using the test case kmy-file? |