gnucash master: Multiple changes pushed
Geert Janssens
gjanssens at code.gnucash.org
Tue Feb 7 11:48:14 EST 2023
Updated via https://github.com/Gnucash/gnucash/commit/0c380741 (commit)
via https://github.com/Gnucash/gnucash/commit/fb8c0ab0 (commit)
via https://github.com/Gnucash/gnucash/commit/27764908 (commit)
via https://github.com/Gnucash/gnucash/commit/b8a14c17 (commit)
via https://github.com/Gnucash/gnucash/commit/b862142e (commit)
from https://github.com/Gnucash/gnucash/commit/732a0057 (commit)
commit 0c3807414aa4a22d10d621175ce23a43ba178527
Author: Geert Janssens <geert at kobaltwit.be>
Date: Tue Feb 7 17:33:31 2023 +0100
Generic Importer - allow user to modify exchange rates for unbalanced transactions
With the improved support for multi-currency imports, it
can happen an incomplete transaction needs an exchange
rate (or balancing split amount) before the transaction
can be imported. This commit adds a context menu entry
to set exchange rates on such transactions.
The menu is only enabled for unbalanced transactions
for a destination account has been set.
commit fb8c0ab03980d42e77d9cf73b2a9b4ad3eab088b
Author: Geert Janssens <geert at kobaltwit.be>
Date: Tue Feb 7 11:22:40 2023 +0100
Bug 796955 - Import CSV - Single-line two-currency transactions can't be imported
Calculation using price from csv data was still backwards.
This commit fixes it.
commit 27764908e6ce6d033fda6e55be2519f3bc81cc1c
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sun Feb 5 21:08:19 2023 +0100
Import matcher - remove a few redundant tests with GLists
commit b8a14c172f52fec771315c50b951623f714636f0
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sun Feb 5 20:44:54 2023 +0100
Import-matcher.c - C99 fun
- introduce bool
- declare variables on first use
commit b862142e8240a4a5d1b3fa4f087e2a4b9ae44947
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sun Feb 5 18:55:55 2023 +0100
Bug 793306 - Price is not imported from CSV
This is really a variation of bug 796955, except that in this case
even less data was provided in the csv file, so we needed
extra code to defer second split generation to the generic import
matcher.
The missing details can be either transfer account,
transfer amount and/or price.
The generic import matcher has more options to find this
information: the transfer account can be guessed from
import maps or manually selected by the user.
Only when that one is known, we can consider transfer
amount. In a single currency situation, this is easy.
In the multi-currency case we currently need either
a price or a transfer amount from the csv import data.
Summary of changes:
.../csv-imp/assistant-csv-trans-import.cpp | 2 +
gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp | 72 +-
gnucash/import-export/csv-imp/gnc-imp-props-tx.hpp | 2 +
gnucash/import-export/import-backend.cpp | 37 +-
gnucash/import-export/import-backend.h | 2 +
gnucash/import-export/import-main-matcher.c | 930 ++++++++++-----------
gnucash/import-export/import-main-matcher.h | 20 +-
7 files changed, 533 insertions(+), 532 deletions(-)
More information about the gnucash-patches
mailing list