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

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

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLOrderBook.py   Products.BastionLedger(Download)
    def manage_invoiceObjects(self, ids=[], REQUEST=None):
        """ """
        for id in ids:
            order = self._getOb(id)
	    if order.status() == 'open':
        """
        for id in ids:
            order = self._getOb(id)
            try:
                order.content_status_modify(workflow_action='finish')
                                    taxincluded=taxincluded, 
                                    discount=discount))
        order = self._getOb(id)
        if REQUEST:
            REQUEST.RESPONSE.redirect('%s/%s/manage_main' % (self.getId(), order.getId()))

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPayroll.py   Products.BastionLedger(Download)
    def blTransaction(self, entry_id):
        return self._getOb(entry_id)
 
 
    def getTimesheetStatus(self, date):
        for id in ids:
            try:
                ob = self._getOb(id)
                if ob.meta_type == 'BLPaySlip':
                    self._delObject(id)