Changeset - daf7e1275225
[Not reviewed]
0 1 0
Brett Smith - 4 years ago 2020-06-18 14:05:37
brettcsmith@brettcsmith.org
ledger: Remove obsoleted hack.

This is no longer necessary now that the plugin enforces proper project
metadata on Equity accounts.
1 file changed with 0 insertions and 4 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reports/ledger.py
Show inline comments
...
 
@@ -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)))
0 comments (0 inline, 0 general)