Permalink
Browse files

Bug #649608: Skip non-enabled Scheduled Transactions for Future Txn r…

…eport

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20633 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information...
1 parent bd0e046 commit aebd3905cb645b3d9be787aeb319732a79565d8f @cstim committed May 12, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/app-utils/gnc-sx-instance-model.c
@@ -1673,6 +1673,13 @@ instantiate_cashflow_internal(const SchedXaction* sx,
return;
}
+ if (!xaccSchedXactionGetEnabled(sx))
+ {
+ g_debug("Skipping non-enabled SX [%s]",
+ xaccSchedXactionGetName(sx));
+ return;
+ }
+
create_cashflow_data.hash = map;
create_cashflow_data.creation_errors = creation_errors;
create_cashflow_data.sx = sx;

0 comments on commit aebd390

Please sign in to comment.