mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Partly reverting r18246: Disable writing of "hidden" and "placeholder" flags as XML tags.
Don't write new XML tags in version 2.3.x and 2.4.x because it would mean 2.2.x cannot read those files again. But we can enable writing these tags in 2.5.x or late in 2.4.x. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18268 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c1679a1b1a
commit
eb1796ea7b
@ -97,12 +97,17 @@ gnc_account_dom_tree_create(Account *act,
|
|||||||
act_type_string,
|
act_type_string,
|
||||||
xaccAccountTypeEnumAsString(xaccAccountGetType(act))));
|
xaccAccountTypeEnumAsString(xaccAccountGetType(act))));
|
||||||
|
|
||||||
|
/* Don't write new XML tags in version 2.3.x and 2.4.x because it
|
||||||
|
would mean 2.2.x cannot read those files again. But we can
|
||||||
|
enable writing these tags in 2.5.x or late in 2.4.x. */
|
||||||
|
/*
|
||||||
xmlAddChild(ret, boolean_to_dom_tree(
|
xmlAddChild(ret, boolean_to_dom_tree(
|
||||||
act_hidden_string,
|
act_hidden_string,
|
||||||
xaccAccountGetHidden(act)));
|
xaccAccountGetHidden(act)));
|
||||||
xmlAddChild(ret, boolean_to_dom_tree(
|
xmlAddChild(ret, boolean_to_dom_tree(
|
||||||
act_placeholder_string,
|
act_placeholder_string,
|
||||||
xaccAccountGetPlaceholder(act)));
|
xaccAccountGetPlaceholder(act)));
|
||||||
|
*/
|
||||||
|
|
||||||
acct_commodity = xaccAccountGetCommodity(act);
|
acct_commodity = xaccAccountGetCommodity(act);
|
||||||
if (acct_commodity != NULL)
|
if (acct_commodity != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user