Ir al contenido
Odoo Menú
  • Iniciar sesión
  • 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
    • e-learning
    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
    • Inteligencia artificial
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Sectores
    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 pub
    • 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
    • Asesoría contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos corporativos
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Oficios
    • Servicios de mantenimiento
    • Hardware y soporte técnico
    • 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 vallas publicitarias
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • 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
    • Servicios para partners
    • Registrar tu asesoría contable
    • Referral Program
    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
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Ayuda

How to remove "view invoice" button from emails on Odoo 18 Online

Suscribirse

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

Esta pregunta ha sido marcada
accountingemailaccount.move
3 Respuestas
1119 Vistas
Avatar
Del Sur Inversiones, Sebastian Lemos

Hi, I can't find a way to get rid of the button "view invoice" in the email template "Invoice: Sending".

Already tried to edit the code in the template but it doesn't show a section for this button, only the part that start below.


Thanks in advance,

Sebastian

0
Avatar
Descartar
Avatar
Jyotin DRKDS INFOTECH
Mejor respuesta
In Odoo 18, the "View Invoice" button in invoice emails comes from the mail template associated with the invoice. Here's how to remove it:

**Method 1: Edit the Mail Template (No Code)**

1. Go to **Settings → Technical → Email → Templates**
2. Search for the template named **"Invoice: Sending"** (or `account.email_template_edi_invoice`)
3. Edit the **Body HTML** and remove the button markup — look for something like:
```html
<a t-att-href="ctx.get('portal_url')" ...>View Invoice</a>
```
4. Save.

**Method 2: If you're on Odoo Online (SaaS)**

Since you mentioned **Odoo 18 Online**, you likely don't have full technical menu access. Try this:

1. Enable **Developer Mode** (Settings → scroll down → Activate Developer Mode)
2. Then navigate to **Settings → Technical → Email → Templates**
3. Find `account.email_template_edi_invoice` and edit the body

If the button is rendered via a sub-template or `_portal_link` mechanism rather than inline HTML, look in the template body for:

```xml
<t t-set="actions">
    ...button markup...
</t>
```

Remove or comment out the relevant block.

**Important note for Odoo Online:** You cannot create custom modules, but you *can* edit mail templates through the UI. However, be aware that Odoo updates may reset your changes on the SaaS platform. Document what you changed so you can re-apply after upgrades.

**Method 3: Override via Studio (if available)**

If you have the Studio app, you can sometimes customize email templates more safely, though for this specific case, direct template editing is more reliable.

After editing, send a test invoice email to yourself to verify the button is gone.

0
Avatar
Descartar
Avatar
Zehntech Technologies Inc.
Mejor respuesta

Hi Sebastian,

In Odoo 18 Online, the “View Invoice” button in the Invoice: Sending email is usually automatically generated by Odoo to give customers portal access to their invoice. Because of this, it may not appear directly in the editable HTML of the email template, which is why you cannot see it in the code.

On Odoo Online (SaaS), removing this button through the template editor is generally not supported, since it is injected by the system. Possible workarounds include adjusting portal/payment settings or modifying the email flow, but full control typically requires customization (available on Odoo.sh or On-Premise environments).

Hope this works for you! Feel free to reach out for further discussion.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Descartar
Avatar
Codesphere Tech
Mejor respuesta
Hello,

This is built using a dynamic method from the backend, but you can change it from here. However, please keep in mind that this template is also used by other modules. Also check the condition inside view code
Views → Mail: Mail Notification Layout Template -> find button_access
<t t-out="button_access['title']"/>
Hope this helps

Thanks.

0
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
Remove bank account from supplier
accounting account.move
Avatar
Avatar
1
mar 25
4240
Forward facing email - v17 Resuelto
accounting email
Avatar
Avatar
2
feb 24
1936
Mexican location, stamped to billing address. Odoo v14 enterprise
accounting account.move
Avatar
0
nov 22
3331
Internal notes on Journal Entries Resuelto
accounting account.move journal_entry
Avatar
Avatar
1
mar 16
7153
Section line on customer invoice not displayed in invoice lines (but appears in accounting entries)
accounting invoicing account.move odoo V18
Avatar
0
dic 25
1350
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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre 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 estar 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