GnuCash
Contact   Instructions
Bug 676810 - Wrong accounting in multi-currency budget report
Summary: Wrong accounting in multi-currency budget report
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Budgets (show other bugs)
Version: 2.4.x
Hardware: Other Windows
: Normal major
Target Milestone: ---
Assignee: core
QA Contact: core
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 08:00 EDT by Alberto Caruso
Modified: 2019-05-23 15:40 EDT (History)
5 users (show)

See Also:


Attachments
Minimum set of accounts showing the bug (27.61 KB, application/x-zip-compressed)
2012-05-25 08:00 EDT, Alberto Caruso
no flags Details

Description Alberto Caruso 2012-05-25 08:00:05 EDT
Created attachment 214930 [details]
Minimum set of accounts showing the bug

When creating a budget report, in case there is an account with different currency than the parent account, the value is not converted in the commodity of the parent account before adding it, but simply added.

The Actuals are correctly calculated, though.

Example:
Parent account: Current Assets (HUF)
Sub account: Cash in Wallet with 10,000 HUF
Sub account: Test EUR with 100 EUR

Exchange rate is set so that 1 EUR = 300 HUF

When issuing a Budget Report, gives the following:
Actuals (correct)
Parent account: Current Assets with 40,000 HUF
Sub account: Cash in Wallet with 10,000 HUF
Sub account: Test EUR with 100 EUR

Budget (wrong)
Parent account: Current Assets with 10,100 HUF
Sub account: Current Assets with 10,000 HUF
Sub account: Test EUR with 100 EUR

I attach the example files.
Comment 1 Mike Evans 2012-05-26 04:59:37 EDT
Confirming the the same behaviour in trunk and Linux.
Comment 2 Michalis 2014-05-06 07:32:41 EDT
Still present in 2.6.3
Comment 3 Michalis 2016-04-15 10:26:11 EDT
FYI, still present in 2.6.11 
Since some work is going on in budgets, I thought I would bring that up again.
Comment 4 John Ralls 2017-09-24 18:19:46 EDT
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 5 John Ralls 2019-05-23 15:40:51 EDT
Fixed in GnuCash 3.6 thanks to a contribution from Adrién Panella.

Note You need to log in before you can comment on or make changes to this bug.