def _check_input(self): """ Checks the initialisation values. """ StockTransferWriterExecutor._check_input(self) if not self.has_errors(): self._iso_request = self.entity.iso_request
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)
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)