Bug 798208 - management fee transactions are ignored on OFX import

Treat INVBANKTRAN like BANKTRAN.
pull/1146/head
John Ralls 5 years ago
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…
Cancel
Save