Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
6582 Представления
Аватар
Отменить
Автор Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
нояб. 23
1559
2
апр. 24
5970
2
февр. 24
3031
2
июл. 23
5452
0
янв. 25
7694