- To remove access to portal user from the invoice email template
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
3
Respostas
6588
Visualizações
create an inherited views from the "Mail: Pay Now mail notification template" view.
Add the following code on the architecture.
<xpath expr=”//div[@style=’margin: 32px 0px 32px 0px; text-align: center;’]” position=”replace”/>
Warning : copy and paste this sentence won't work, you have to rewrite it.
This will remove the button from the emails sent with that invoice email template.
In odoo V15, remove
<a t-if="has_button_access"
t-att-href="button_access['url']"
style="padding: 8px 12px; font-size: 12px; color: #FFFFFF; text-decoration: none !important; font-weight: 400; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px">
<t t-esc="button_access['title']"/>
a>
from mail.message_notification_email
Great, My Issue is solved
This might be a solution > https://github.com/elsguns/odoo/tree/master/mail_no_portal.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
0
nov. 23
|
1562 | ||
Cookie banner in Odoo website
Resolvido
|
|
2
abr. 24
|
5971 | |
|
2
fev. 24
|
3032 | ||
Online payment button in invoice mail
Resolvido
|
|
2
jul. 23
|
5453 | |
|
0
jan. 25
|
7695 |