gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Tue Aug 16 19:38:01 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/f71999bb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/519818ce (commit)
	from  https://github.com/Gnucash/gnucash/commit/15ce9be7 (commit)



commit f71999bb8fb51517c67a337aeedce7e2230fcec5
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Aug 16 22:48:33 2022 +0800

    [trial-balance] set default price-source to average-cost
    
    to minimise complaints... see bug 798550

diff --git a/gnucash/report/reports/standard/trial-balance.scm b/gnucash/report/reports/standard/trial-balance.scm
index 7e21d4d83..c3c543ae3 100644
--- a/gnucash/report/reports/standard/trial-balance.scm
+++ b/gnucash/report/reports/standard/trial-balance.scm
@@ -251,7 +251,7 @@
 
     (gnc:options-add-price-source!
      options pagename-commodities
-     optname-price-source "b" 'pricedb-nearest)
+     optname-price-source "b" 'average-cost)
 
     (add-option
      (gnc:make-simple-boolean-option

commit 519818ce04e38baafaff4ea2abed108ec2714188
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Aug 16 22:49:02 2022 +0800

    [import-main-matcher] sort matched transactions' accounts

diff --git a/gnucash/import-export/import-main-matcher.c b/gnucash/import-export/import-main-matcher.c
index 27cffb2ae..2b6cb667a 100644
--- a/gnucash/import-export/import-main-matcher.c
+++ b/gnucash/import-export/import-main-matcher.c
@@ -1897,6 +1897,7 @@ get_peer_acct_names (Split *split)
         accounts_seen = g_list_prepend (accounts_seen, account);
         g_free (name);
     }
+    names = g_list_sort (names, (GCompareFunc)g_utf8_collate);
     retval = gnc_g_list_stringjoin (names, ", ");
     g_list_free_full (names, g_free);
     g_list_free (accounts_seen);



Summary of changes:
 gnucash/import-export/import-main-matcher.c       | 1 +
 gnucash/report/reports/standard/trial-balance.scm | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list