Subversion Repositories SmartDukaan

Rev

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

Rev 4444 Rev 4447
Line 524... Line 524...
524
            
524
            
525
            return t_alerts
525
            return t_alerts
526
        finally:
526
        finally:
527
            close_session()
527
            close_session()
528
 
528
 
529
    def addAlert(self, type, description):
529
    def addAlert(self, type, warehouseId, description):
530
        """
530
        """
531
        Parameters:
531
        Parameters:
532
         - type
532
         - type
533
         - description
533
         - description
-
 
534
         - warehouseId
534
        """
535
        """
535
        try:
536
        try:
536
            add_alert(type, description)
537
            add_alert(type, warehouseId, description)
537
        finally:
538
        finally:
538
            close_session()
539
            close_session()
539
 
540
 
540
    def markAlertsAsSeen(self, warehouseId):
541
    def markAlertsAsSeen(self, warehouseId):
541
        """
542
        """