gnucash master: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sun Feb 5 13:39:45 EST 2023
Updated via https://github.com/Gnucash/gnucash/commit/9446ae7f (commit)
via https://github.com/Gnucash/gnucash/commit/31d45fc5 (commit)
via https://github.com/Gnucash/gnucash/commit/9c87585d (commit)
via https://github.com/Gnucash/gnucash/commit/68cd8cfa (commit)
from https://github.com/Gnucash/gnucash/commit/6946d219 (commit)
commit 9446ae7fb734ec0cdf95c2737966f195e9d0c31a
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Feb 4 18:12:32 2023 -0800
Release GnuCash 4.901
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04800ccf6..e711a069b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.14.0)
endif()
project (gnucash
- VERSION 4.900
+ VERSION 4.901
)
enable_testing()
diff --git a/NEWS b/NEWS
index c2fbe0311..213c2cda7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,77 @@
Version history:
------- -------
+4.901 - 5 February 2023
+Between 4.900 and 4.901, the following bugfixes were accomplished:
+The following fixes will also appear in GnuCash 4.14:
+
+ Bug 797477 - Manual foreign transaction from APAR to another doesn't
+ trigger price input
+ Bug 797725 - Untranslatable string "For Period Covering ~a to ~a"
+ Bug 798734 - Aging Reports don't handle mixed currency payments and
+ invoices without Trading Accounts
+ Bug 798737 - Minor grammatical error - 'for' missing in 'You will be asked
+ a conversion rate for each.'
+ Bug 798740 - Build fails with gcc 13
+ Bug 798747 - Crash in Investment Portfolio report.
+
+The following additional bug fixes are in unstable only:
+
+ Bug 753307 - Custom Report be selectable as default Report for Printing
+ Change the preference in Business->'Report for Printing' to be saved as
+ a book property and allow the selection of any Invoice Report to be
+ used as the default.
+ Bug 794028 - CSV import, default to matching full account name
+ If the account map doesn't yield a result, try to map the import
+ string against existing accounts' full names
+ Bug 796955 - Import CSV - Single-line two-currency transactions can't be
+ imported
+ Use a provided price if the transfer account uses a different commodity
+ from the base account's; apply it as
+ transfer amount = base amount * price.
+ Add a transfer amount column option to avoid the rounding that might
+ arise from having an inexact price.
+ Bug 797756 - Currency format setting is ignored
+ Bug 798292 - csv Import Transactions Ignores Multi-Splits
+ Bug 798475 - GNCAccountSel could have shortcuts
+ Bug 798730 - Open report doesn't remember selected accounts over restart
+ Bug 798739 - Advanced Portfolio report fails
+
+The following fixes and improvements were not associated with bug reports:
+
+ Move the Balance Sheet P&L Report out of experimental into regular menu.
+ Rename the Deposit and Withdrawal column labels in the CSV import assistant
+ to Amount and Amount(Negated) for clarity when importing into something
+ other than a bank account.
+ Improve muti-currency invoice payment:
+ * Show proper amount in dialog when applying or editing an existing
+ transaction as payment.
+ * Be more careful not to waste the existing payment split
+ * If the user changed the payment amount while starting from an
+ existing transaction unreconcile the changed payment split
+ * Avoid needlessly changing transaction currency (only do so if the
+ user chose a new transfer account and the old currency is neither
+ the new transfer account's currency nor the post account's currency)
+ Payment dialog - always list all possible post accounts instead of
+ only those in the currency of the selected vendor or customer
+ * Refuse to continue when a transaction has splits in more than one
+ AP/AR account to avoid losing data.
+ Add widget names to import dialogs so they can be manipulated with css
+ Fix some memory leaks
+ Ensure original splits are freed in xaccTransRollbackEdit
+ Add ability to show placeholder and hidden accounts in the GNCAccountSel
+ widget to hide placeholder and hidden accounts. By default these
+ accounts are hidden, but with the use of a secondary icon a popup menu
+ is presented where the list can be configured to show them. Also when
+ the GNCAccountSel is set to a specific account with with
+ gnc_account_sel_set_account, the placeholder and hidden properties are
+ checked and appropriate changes made so the account will be visible.
+ Activate feature GNC_FEATURE_EQUITY_TYPE_OPENING_BALANCE
+ Wrap function decls in extern "C" in all headers so that they can be
+ included without wrapping the include statements.
+
+New and Updated Translations: French, Hebrew, Hungarian, Italian,
+Russian, Ukrainian
+
4.900 - 8 January 2023
New Features
commit 31d45fc586cc0a00b441267b135bc8efed162f54
Merge: 6946d2197 9c87585d4
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Feb 5 09:18:00 2023 -0800
Merge branch 'maint'
commit 9c87585d4eaddf314b439afd387b722e00d22cd7
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Feb 5 17:25:52 2023 +0800
Bug 798747 - Crash in Investment Portfolio report
add support for pricedb-before in portfolio reports
diff --git a/gnucash/report/reports/standard/advanced-portfolio.scm b/gnucash/report/reports/standard/advanced-portfolio.scm
index 7a71127a7..be4f50bae 100644
--- a/gnucash/report/reports/standard/advanced-portfolio.scm
+++ b/gnucash/report/reports/standard/advanced-portfolio.scm
@@ -1026,6 +1026,11 @@ by preventing negative stock balances.<br/>")
(lambda (foreign domestic date)
(find-price (gnc-pricedb-lookup-latest-any-currency pricedb foreign)
domestic)))
+ ((pricedb-before)
+ (lambda (foreign domestic date)
+ (find-price (gnc-pricedb-lookup-nearest-before-any-currency-t64
+ pricedb foreign (time64CanonicalDayTime date))
+ domestic)))
((pricedb-nearest)
(lambda (foreign domestic date)
(find-price (gnc-pricedb-lookup-nearest-in-time-any-currency-t64
diff --git a/gnucash/report/reports/standard/portfolio.scm b/gnucash/report/reports/standard/portfolio.scm
index 5a92db58d..5a0b547f0 100644
--- a/gnucash/report/reports/standard/portfolio.scm
+++ b/gnucash/report/reports/standard/portfolio.scm
@@ -229,6 +229,16 @@
(cons #f (gnc-numeric-zero)))))
(if price (gnc-price-list-destroy price))
fn)))
+ ((pricedb-before)
+ (lambda (foreign date)
+ (let ((price (gnc-pricedb-lookup-nearest-before-any-currency-t64
+ pricedb foreign (time64CanonicalDayTime date))))
+ (cond
+ ((null? price) (cons #f 0))
+ (else (let ((p (car price)))
+ (gnc-price-ref p)
+ (gnc-price-list-destroy price)
+ (cons p (gnc-price-get-value p))))))))
((pricedb-nearest)
(lambda (foreign date)
(let* ((price
commit 68cd8cfa2c41ae754a937fed7abd8b830ac2e8c6
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Feb 5 17:24:49 2023 +0800
[portfolio] remove unused the_price
diff --git a/gnucash/report/reports/standard/portfolio.scm b/gnucash/report/reports/standard/portfolio.scm
index 020e867de..5a92db58d 100644
--- a/gnucash/report/reports/standard/portfolio.scm
+++ b/gnucash/report/reports/standard/portfolio.scm
@@ -235,13 +235,7 @@
(gnc-pricedb-lookup-nearest-in-time-any-currency-t64
pricedb foreign (time64CanonicalDayTime date)))
(fn (if (and price (> (length price) 0))
- (let* ((the_price
- (if (gnc-commodity-equiv
- foreign
- (gnc-price-get-commodity (car price)))
- (car price)
- (gnc-price-invert (car price))))
- (v (gnc-price-get-value (car price))))
+ (let* ((v (gnc-price-get-value (car price))))
(gnc-price-ref (car price))
(cons (car price) v))
(cons #f (gnc-numeric-zero)))))
Summary of changes:
CMakeLists.txt | 2 +-
NEWS | 72 ++++++++++++++++++++++
.../report/reports/standard/advanced-portfolio.scm | 5 ++
gnucash/report/reports/standard/portfolio.scm | 18 +++---
4 files changed, 89 insertions(+), 8 deletions(-)
More information about the gnucash-changes
mailing list