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

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

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPayroll.py   Products.BastionLedger(Download)
                return
 
        employees = filter(lambda x,ids=ids: x.getId() in ids, self.accountValues())
        # filter non-timesheet approved employees ...
        if self.timesheets_required:
        """
        results = []
        employees = list(self.accountValues())
        employees.sort(lambda x,y: x.superFund() <= y.superFund())
 
 
        # TODO - figure out which employees ...
        for employee in self.accountValues(status='open'):
            counter += 1
 

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLShareholderLedger.py   Products.BastionLedger(Download)
            effective = DateTime(effective)
        shareholders = []
        for shareholder in self.accountValues():
            if shareholder.allocationValues(share_type, effective or DateTime()):
                shareholders.append(shareholder)
            effective = DateTime(effective)
        effective = effective or DateTime()
        for shareholder in self.accountValues(status='open'):
            if filter(lambda x: x.votingClass(),
                      shareholder.allocationValues(effective=effective)):
        for defn in self.shareDefinitionValues():
            if defn.voting_class in voting_classes:
                for shareholder in self.accountValues():
                    votes = shareholder.allocationQuantity(defn.getId(), effective)
                    if votes:

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLOrderBook.py   Products.BastionLedger(Download)
        """
        orders = []
        for account in self.accountValues(**kw):
            orders.extend(account.orderValues(entered_by, orderdate, status))
        return orders