Subversion Repositories SmartDukaan

Rev

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

Rev 5987 Rev 6096
Line 530... Line 530...
530
        try:
530
        try:
531
            clear_item_availability_cache()
531
            clear_item_availability_cache()
532
        finally:
532
        finally:
533
            close_session()
533
            close_session()
534
 
534
 
-
 
535
    def clearItemAvailabilityCacheForItem(self, item_id):
-
 
536
        """
-
 
537
        Clear item availability cache.
-
 
538
        """
-
 
539
        try:
-
 
540
            clear_item_availability_cache(item_id)
-
 
541
        finally:
-
 
542
            close_session()
-
 
543
 
535
    def getPendingOrdersInventory(self, vendorId):
544
    def getPendingOrdersInventory(self, vendorId):
536
        """
545
        """
537
        Returns a list of inventory stock for items for which there are pending orders for the given vendor.
546
        Returns a list of inventory stock for items for which there are pending orders for the given vendor.
538
        """
547
        """
539
        try:
548
        try: