From 07d972d95e535b0705d52e7ce36a25c40d4babaf Mon Sep 17 00:00:00 2001 From: Red S Date: Sun, 13 Oct 2024 10:39:57 -0700 Subject: [PATCH] feat: turn on emit_filing_account by default Else, we are dependent on the order of postings determined by Python --- .../libtransactionbuilder/transactionbuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beancount_reds_importers/libtransactionbuilder/transactionbuilder.py b/beancount_reds_importers/libtransactionbuilder/transactionbuilder.py index d9f9992..ee88d3e 100644 --- a/beancount_reds_importers/libtransactionbuilder/transactionbuilder.py +++ b/beancount_reds_importers/libtransactionbuilder/transactionbuilder.py @@ -54,7 +54,7 @@ def build_metadata(self, file, metatype=None, data={}): # This 'filing_account' is read by a patch to bean-extract so it can output transactions to # a file that corresponds with filing_account, when the one-file-per-account feature is # used. - if self.config.get("emit_filing_account_metadata"): + if not self.config.get("emit_filing_account_metadata", False): acct = self.config.get("filing_account", self.config.get("main_account", None)) return {"filing_account": acct} return {}