Rework default non-currency commodity namespace.

Separate the "All noncurrency" convenience category in the commodity
selector and the default non-commodity namespace proposed by the QIF
importer because they have different functions.

Also remove the namespace guessing code from qif-dialog because with
only one default non-currency namespace there's nothing to guess.
This commit is contained in:
John Ralls
2022-03-24 17:37:47 -07:00
parent 9cde35aed8
commit 109efe62b8
7 changed files with 23 additions and 29 deletions

View File

@@ -37,9 +37,6 @@
(export account-full-name<?)
(export accounts-get-children-depth)
(define-public GNC_COMMODITY_NS_CURRENCY "CURRENCY")
(define-public GNC_COMMODITY_NS_NONCURRENCY (gettext "ALL NON-CURRENCY"))
(define (gnc-pricedb-lookup-latest-before-t64 . args)
(issue-deprecation-warning "gnc-pricedb-lookup-latest-before-t64 has been renamed to gnc-pricedb-lookup-nearest-before-t64")
(apply gnc-pricedb-lookup-nearest-before-t64 args))