Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPeriodInfo.py   Products.BastionLedger(Download)
        """
        total = ZCurrency('%s 0.00' % self.currency())
        for rec in self.objectValues():
            if type and rec.type in type:
                total += rec.getProperty(attr)
 
        # return them in accno order
        recs = list(self.objectValues())
        recs.sort(BLPeriodRec.__cmp__)
 
        """
        txns = []
        for ledger in self.objectValues():
            txns.extend(ledger.blTransactions())
 
        """
        txns = []
        for ledger in self.objectValues():
            txns.extend(ledger.blLedgerTransactions())
        txns.sort()
    def infosForDate(self, effective):
        """
        return the period information for the effective date (or None)
        """
        for infos in self.objectValues('BLPeriodInfos'):