jwiegley/ledger — pull request #93 by enderw88 (2012-10-23 20:12:15+00:00)
Title: Implemented Bug551  Automatic Transactions are cleared base on parent

Added 6 lines to auto_xact_t::extend_xact

// A Cleared transaction implies all of its automatic posting are cleared
// CPR 2012/10/23
if(xact.state() == item_t::CLEARED){
DEBUG("xact.extend.cleared", "CLEARED");
new_post->set_state(item_t::CLEARED);
}