跳至内容
菜单
此问题已终结
3 回复
6592 查看
形象
丢弃
编写者 最佳答案

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

相关帖文 回复 查看 活动
0
11月 23
1562
2
4月 24
5972
2
2月 24
3033
2
7月 23
5453
0
1月 25
7695