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
    • Artificial Intelligence
    • 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ó
    • Property Management
    • 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
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

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
accountingemailaccount.move
3 Respostes
1087 Vistes
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
Best Answer
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.
Best Answer

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
Best Answer
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
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
Remove bank account from supplier
accounting account.move
Avatar
Avatar
1
de març 25
4203
Forward facing email - v17 Solved
accounting email
Avatar
Avatar
2
de febr. 24
1855
Mexican location, stamped to billing address. Odoo v14 enterprise
accounting account.move
Avatar
0
de nov. 22
3301
Internal notes on Journal Entries Solved
accounting account.move journal_entry
Avatar
Avatar
1
de març 16
7113
Section line on customer invoice not displayed in invoice lines (but appears in accounting entries)
accounting invoicing account.move odoo V18
Avatar
0
de des. 25
1328
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 Svenska ภาษาไทย 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