@api.multi
    def _set_transaction_pending(self):
        """Move the transaction to the pending state(e.g. Wire Transfer)."""
        if any(trans.state != "draft" for trans in self):
            raise ValidationError(