Beispiel #1
0
 def _check_input(self):
     """
     Checks the initialisation values.
     """
     StockTransferWriterExecutor._check_input(self)
     if not self.has_errors():
         self._iso_request = self.entity.iso_request
Beispiel #2
0
 def _check_input(self):
     """
     Checks the initialisation values.
     """
     StockTransferWriterExecutor._check_input(self)
     if not self.has_errors():
         self._iso_request = self.entity.iso_request
Beispiel #3
0
 def _check_input(self):
     """
     Checks the initialisation values.
     """
     StockTransferWriterExecutor._check_input(self)
     if not self.has_errors() and not self.entity.status == ISO_STATUS.QUEUED:
         msg = 'Unexpected ISO status: "%s"' % (self.entity.status)
         self.add_error(msg)
Beispiel #4
0
 def _check_input(self):
     """
     Checks the initialisation values.
     """
     StockTransferWriterExecutor._check_input(self)
     if not self.has_errors() and \
                             not self.entity.status == ISO_STATUS.QUEUED:
         msg = 'Unexpected ISO status: "%s"' % (self.entity.status)
         self.add_error(msg)