Subversion Repositories SmartDukaan

Rev

Rev 18588 | Rev 21620 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18588 Rev 21619
Line 472... Line 472...
472
    def getSuppliers(self,):
472
    def getSuppliers(self,):
473
        """
473
        """
474
        Returns all the valid suppliers
474
        Returns all the valid suppliers
475
        """
475
        """
476
        try:
476
        try:
477
            return [Supplier.to_thrift_object(supplier) for supplier in Supplier.query.all()]
477
            return [Supplier.to_thrift_object(supplier) for supplier in Supplier.query.filter(Supplier.id > 220).all()]
478
        finally:
478
        finally:
479
            self.close_session()
479
            self.close_session()
480
 
480
 
481
    def unFulfillPO(self, purchaseId, itemId, quantity):
481
    def unFulfillPO(self, purchaseId, itemId, quantity):
482
        """
482
        """