GnuCash
Contact   Instructions
Bug 798036 - Transaction Report should offer price source
Summary: Transaction Report should offer price source
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Reports (show other bugs)
Version: git-maint
Hardware: PC Other
: Normal enhancement
Target Milestone: ---
Assignee: reports
QA Contact: reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-01 18:41 EST by Christopher Lam
Modified: 2020-12-02 18:26 EST (History)
3 users (show)

See Also:


Attachments
options ui (47.13 KB, image/png)
2020-12-01 18:43 EST, Christopher Lam
no flags Details

Description Christopher Lam 2020-12-01 18:41:57 EST
Transaction Report can offer more price sources.

Note using pricedb-nearest will mimic current behaviour: All amounts converted from original-currency to report-currency according to nearest pricedb entry.
Comment 1 Christopher Lam 2020-12-01 18:43:55 EST
Created attachment 373928 [details]
options ui

General options getting rather crowded.
Comment 2 Christopher Lam 2020-12-02 09:07:11 EST
Gal: see https://github.com/Gnucash/gnucash/pull/829 - it modifies two files trep-engine.scm and options.scm - you may overwrite your copy with the modified ones.

Also available at: (click Raw) to obtain raw files)

https://github.com/christopherlam/gnucash/blob/maint-trep-price-source/gnucash/report/trep-engine.scm

https://github.com/christopherlam/gnucash/blob/maint-trep-price-source/libgnucash/app-utils/options.scm

It would be very useful to have a motivated tester.
Comment 3 Gal 2020-12-02 13:36:10 EST
Christopher, tested it with the 2 attached files and it looks good.
Thank you.
Comment 4 Christopher Lam 2020-12-02 18:26:47 EST
NP, please continue reviewing the report, and file further bugs if the conversion isn't accurate.

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