mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[c++options] Parent account types must be included in the types list
Or the selection routine can't show the descendants you want.
This commit is contained in:
parent
730d8bd730
commit
f54927d9cf
@ -129,7 +129,7 @@ by preventing negative stock balances.<br/>")
|
||||
(filter gnc:account-is-stock?
|
||||
(gnc-account-get-descendants-sorted
|
||||
(gnc-get-current-root-account)))
|
||||
(list ACCT-TYPE-STOCK))
|
||||
(list ACCT-TYPE-ASSET ACCT-TYPE-STOCK ACCT-TYPE-MUTUAL))
|
||||
|
||||
(gnc-register-simple-boolean-option options
|
||||
gnc:pagename-accounts optname-zero-shares "e"
|
||||
|
@ -147,7 +147,7 @@
|
||||
(filter gnc:account-is-stock?
|
||||
(gnc-account-get-descendants-sorted
|
||||
(gnc-get-current-root-account)))
|
||||
(list ACCT-TYPE-STOCK ACCT-TYPE-MUTUAL))
|
||||
(list ACCT-TYPE-ASSET ACCT-TYPE-STOCK ACCT-TYPE-MUTUAL))
|
||||
|
||||
(gnc-register-simple-boolean-option options
|
||||
gnc:pagename-accounts
|
||||
|
@ -65,7 +65,7 @@
|
||||
(gnc:filter-accountlist-type
|
||||
(list ACCT-TYPE-STOCK ACCT-TYPE-MUTUAL)
|
||||
(gnc-account-get-descendants-sorted (gnc-get-current-root-account)))
|
||||
(list ACCT-TYPE-STOCK ACCT-TYPE-MUTUAL))
|
||||
(list ACCT-TYPE-ASSET ACCT-TYPE-STOCK ACCT-TYPE-MUTUAL))
|
||||
|
||||
(gnc-register-simple-boolean-option options
|
||||
gnc:pagename-accounts optname-zero-shares "e"
|
||||
|
Loading…
Reference in New Issue
Block a user