ledger: Remove obsoleted hack.
This is no longer necessary now that the plugin enforces proper project metadata on Equity accounts.
This commit is contained in:
		
							parent
							
								
									7441f4ef0c
								
							
						
					
					
						commit
						daf7e12752
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -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)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue