addons14/account_financial_report/report/general_ledger_xlsx.py
def write_ending_balance_from_dict(self, my_object):
        """Specific function to write ending balance for General Ledger"""
        if "partner" in my_object["type"]:
            name = my_object["name"]
            label = _("Partner ending balance")
        elif "account" in my_object["type"]:
            name = my_object["code"] + " - " + my_object["name"]
            label = _("Ending balance")
        super(GeneralLedgerXslx, self).write_ending_balance_from_dict(
            my_object, name, label
        )
Specific function to write ending balance for General Ledger
Specific function to write ending balance for General Ledger
Specific function to write ending balance for General Ledger
def write_ending_balance_from_dict(self, my_object):
        if "partner" in my_object["type"]:
            name = my_object["name"]
            label = _("Partner ending balance")
        elif "account" in my_object["type"]:
            name = my_object["code"] + " - " + my_object["name"]
            label = _("Ending balance")
        super(GeneralLedgerXslx, self).write_ending_balance_from_dict(
            my_object, name, label
        )
def write_ending_balance_from_dict ( self , my_object ) : if "partner" in my_object [ "type" ] : name = my_object [ "name" ] label = _ ( "Partner ending balance" ) elif "account" in my_object [ "type" ] : name = my_object [ "code" ] + " - " + my_object [ "name" ] label = _ ( "Ending balance" ) super ( GeneralLedgerXslx , self ) . write_ending_balance_from_dict ( my_object , name , label )
Specific function to write ending balance for General Ledger
Specific function to write ending balance for General Ledger
"""Specific function to write ending balance for General Ledger"""
self
my_object