From daf7e12752255dea9db20fb6b1974f18edb4b8b4 2020-06-18 14:05:37 From: Brett Smith Date: 2020-06-18 14:05:37 Subject: [PATCH] ledger: Remove obsoleted hack. This is no longer necessary now that the plugin enforces proper project metadata on Equity accounts. --- diff --git a/conservancy_beancount/reports/ledger.py b/conservancy_beancount/reports/ledger.py index e28c0984e636ce96daba9ffdd44af7ef2df13450..6676f570f213c76bc6ab013e6c27c0aff4c496b8 100644 --- a/conservancy_beancount/reports/ledger.py +++ b/conservancy_beancount/reports/ledger.py @@ -366,10 +366,6 @@ class LedgerODS(core.BaseODS[data.Posting, data.Account]): def write_balance_sheet(self) -> None: balance_accounts = ['Equity', 'Income', 'Expenses'] - # FIXME: This is a hack to exclude non-project Equity accounts from - # project reports. - if balance_accounts[0] not in self.required_sheet_names: - balance_accounts[0] = 'Equity:Funds' self.use_sheet("Balance") self.sheet.addElement(odf.table.TableColumn(stylename=self.column_style(3))) self.sheet.addElement(odf.table.TableColumn(stylename=self.column_style(1.5)))