Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

After Sign Redirect

Subscriure's

Get notified when there's activity on this post

This question has been flagged
enterpriseSignOdoosign
2 Respostes
198 Vistes
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)
Best Answer

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
Best Answer

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
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Sign - Multiple Signers of the same document
Sign
Avatar
0
d’ag. 25
1671
Sign module generates errors when signing
Sign
Avatar
Avatar
Avatar
Avatar
3
de des. 24
3745
Odoo Sign App - Date field shows "undefined" as value
Sign
Avatar
Avatar
Avatar
3
de nov. 24
2378
Create customer users without incurring enterprise fees for all
enterprise
Avatar
Avatar
1
d’abr. 23
5598
why would Odoo 14 enterprise server reboot every 5 - 10 minutes ?.
enterprise
Avatar
0
de juny 21
2436
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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