Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

After Sign Redirect

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
enterpriseSignOdoosign
2 Respuestas
144 Vistas
Avatar
zulsani@vector-corrosion.co.id

Hi,

I am currently working with Odoo Web Enterprise 17.0+e.

After signing a document created using the Sign module in Odoo, the user is automatically redirected to our Odoo landing page (my-domain.odoo.com).

Is it possible to change this behavior so that, after signing, the user is redirected to a different page or a custom URL?

Any assistance would be greatly appreciated. Thank you.

0
Avatar
Descartar
Avatar
Ray Carnes (ray)
Mejor respuesta

For each Template in the Sign App, you can set a Redirect Link that will be available in the signature confirmation message received after the signature.

1. Modify the Template

2. Access Template Properties


3. Define the Link

 

From https://www.odoo.com/documentation/17.0/applications/productivity/sign.html#templates


1
Avatar
Descartar
zulsani@vector-corrosion.co.id
Autor

works properly. thanks!

Avatar
Mr. Rana
Mejor respuesta

Hi,

I’m working with Odoo Web Enterprise 17.0+e and needed to change the behavior that occurs after a document is signed in the Odoo Sign module.

By default, Odoo redirects the signer back to the standard Odoo portal page.

If you want to redirect the user to a custom URL instead (for example, a thank-you page or your own website), you can do it by patching the SignablePDFIframe frontend widget.

Just try with custom module, maybe it works :-

/** @odoo-module **/

import { patch } from "@web/core/utils/patch";
import { _t } from "@web/core/l10n/translation";
import { AlertDialog } from "@web/core/confirmation_dialog/confirmation_dialog";
import { SignablePDFIframe } from "@sign/js/signable_pdf_iframe";

const CUSTOM_URL = "https://your-custom-url.com/thank-you";   // Change this

patch(SignablePDFIframe.prototype, "sign_custom_redirect", {

    async _sign() {
        const [route, params] = this._getRouteAndParams();
        this.ui.block();

        const response = await this.rpc(route, params).finally(() => this.ui.unblock());

        // Reset validation button
        this.props.validateButton.textContent = this.props.validateButtonText;
        this.props.validateButton.removeAttribute("disabled");

        // --- SUCCESS REDIRECT ---
        if (response.success) {

            // Force redirect to custom URL
            window.location.href = CUSTOM_URL;

            return; // stop the default Odoo redirect
        }

        // --- ERROR HANDLING ---
        if (response.sms) {
            this.dialog.add(AlertDialog, {
                title: _t("Error"),
                body: _t("Your signature was not submitted. Ensure the SMS validation code is correct."),
            });
        } else {
            this.dialog.add(
                AlertDialog,
                {
                    title: _t("Error"),
                    body: _t("Sorry, an error occurred, please try to fill the document again."),
                },
                {
                    onClose: () => window.location.reload(),
                }
            );
        }

        this.props.validateButton.setAttribute("disabled", true);
    },

});


-2
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Sign - Multiple Signers of the same document
Sign
Avatar
0
ago 25
1647
Sign module generates errors when signing
Sign
Avatar
Avatar
Avatar
Avatar
3
dic 24
3712
Odoo Sign App - Date field shows "undefined" as value
Sign
Avatar
Avatar
Avatar
3
nov 24
2359
Create customer users without incurring enterprise fees for all
enterprise
Avatar
Avatar
1
abr 23
5562
why would Odoo 14 enterprise server reboot every 5 - 10 minutes ?.
enterprise
Avatar
0
jun 21
2413
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now