On Monday, August 22, 2022 at 3:33:23 PM UTC-7 Red S wrote:
> That was it. Swapping the order of the two plugins fixed the error. >> > Documented in README.md > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/b0997e30-06db-4eab-8dd4-12d486406a1an%40googlegroups.com.
