mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 798208 - management fee transactions are ignored on OFX import
Treat INVBANKTRAN like BANKTRAN.
This commit is contained in:
parent
8ea52ae212
commit
3cf9f85ea3
@ -586,7 +586,8 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data, void *user_data)
|
||||
xaccTransSetCurrency(transaction, currency);
|
||||
if (data.amount_valid)
|
||||
{
|
||||
if (!data.invtransactiontype_valid)
|
||||
if (!data.invtransactiontype_valid ||
|
||||
data.invtransactiontype == OFX_INVBANKTRAN)
|
||||
{
|
||||
double amount = data.amount;
|
||||
#ifdef HAVE_LIBOFX_VERSION_0_10
|
||||
|
Loading…
Reference in New Issue
Block a user