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/BLTransaction.py   Products.BastionLedger(Download)
    def transactionId(self):
        """
        indexing
        """
        return self.getId()
                    account = unposted.blAccount()
                    try:
                        posted = account.blEntry(self.getId())
                    except:
                        # hmmm - dunno why we should have posted zero-amount transactions,
            for entry in entries:
                try:
                    posted = entry.blAccount()._getOb(self.getId())
                    bad_entries.append((PostingError(posted), ''))
                except:
            for entry in entries:
                try:
                    posted = entry.blAccount()._getOb(self.getId())
                    bad_entries.append((PostingError(posted), ''))
                except:
                REQUEST.set('manage_tabs_message', 'Transaction not in Posted state!')
                return self.manage_main(self, REQUEST)
            raise PostingError, '%s: Transaction not in Posted state (%s)!' % (self.getId(), status)
 
        txn = self.createTransaction(title=description or 'Reversal: %s' % self.title,