From 6ceee1b850cdef8b66057f550d3d71cc0546735c Mon Sep 17 00:00:00 2001 From: CDB-Man Date: Mon, 12 Sep 2022 02:04:16 -0400 Subject: [PATCH] Update assistant-stock-transaction.cpp - dividend reinvestment "Company issues dividend, which may be reinvested. Remaining non-reinvested dividends (if any) are paid out as a cash dividend.") --- gnucash/gnome/assistant-stock-transaction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnucash/gnome/assistant-stock-transaction.cpp b/gnucash/gnome/assistant-stock-transaction.cpp index ae5493285b..b0946e6d1e 100644 --- a/gnucash/gnome/assistant-stock-transaction.cpp +++ b/gnucash/gnome/assistant-stock-transaction.cpp @@ -201,7 +201,7 @@ static const TxnTypeVec long_types { FieldMask::ENABLED_DEBIT, // stock_amt FieldMask::ENABLED_DEBIT, // stock_val - FieldMask::ENABLED_DEBIT, // cash_amt + FieldMask::ENABLED_DEBIT | FieldMask::ALLOW_ZERO, // cash_amt FieldMask::ENABLED_DEBIT | FieldMask::ALLOW_ZERO, // fees_amt true, // fees_capitalize FieldMask::ENABLED_CREDIT, // dividend_amt @@ -210,7 +210,7 @@ static const TxnTypeVec long_types // dividend issued to holder, and it may be reinvested. Some // dividends are distributed as cash. N_("Dividend reinvestment"), - N_("Company issues dividend, which may be reinvested. Non-reinvested dividends are paid out as cash.") + N_("Company issues dividend, which may be reinvested. Remaining non-reinvested dividends (if any) are paid out as a cash dividend.") }, { FieldMask::ENABLED_DEBIT, // stock_amt