> > That was it. Swapping the order of the two plugins fixed the error. In > addition, auto_accounts opens the leaves automatically, but it does not add > a directive to open an ancestor account if that's missing. I had another > set of transactions with a different broker, and all the leaf accounts had > an open statement, but not the parent one (...:WiseBanyan was never open, > but ...:WiseBanyan:Cash, ...:WiseBanyan:APPL, etc were). >
Yeah, I ran into that case as well. autoclose_tree now handles it <https://github.com/redstreet/beancount_reds_plugins/commit/649461e4658ffbfb7e6d7ec379da54897c948f15> . You can close unopened parents: 2017-11-10 open Assets:Brokerage:AAPL 2017-11-10 open Assets:Brokerage:ORNG 2018-11-10 close Assets:Brokerage ; this account was never opened, and this would ; normally be an invalid directive becomes: 2017-11-10 open Assets:Brokerage:AAPL 2017-11-10 open Assets:Brokerage:ORNG 2018-11-10 close Assets:Brokerage:AAPL 2018-11-10 close Assets:Brokerage:ORNG -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/0f64064f-42d3-48cb-906d-7281391bf1b5n%40googlegroups.com.