Esempio n. 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
Esempio n. 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
Esempio n. 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)
Esempio n. 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)