gnucash maint: [assistant-stock-transaction.cpp] more sanity checks
Christopher Lam
clam at code.gnucash.org
Sun Mar 13 21:18:16 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/c00cacda (commit)
from https://github.com/Gnucash/gnucash/commit/aca83513 (commit)
commit c00cacda16ffc7f5cd7a9d650a486cb292aad5e0
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Mar 14 09:14:53 2022 +0800
[assistant-stock-transaction.cpp] more sanity checks
- stock amount must be positive. i.e. a negative stock amount during
a regular BUY means a SELL. user must choose appropriate txn_type.
- don't require account if zero-amount is allowable. eg fees.
Summary of changes:
gnucash/gnome/assistant-stock-transaction.cpp | 4 ++++
1 file changed, 4 insertions(+)
More information about the gnucash-patches
mailing list