How to edit header and footer of email templates (image and/or text)?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
EN Odoo 18 la vista es
mail_notification_light
Activate the developer mode.
Then go to setting.
Open the technical tab : Views.
Open the "message_notification_email" view
Edit what you want to get the result you want.
As example :
Remove completely the footer by commenting the last paragraph.

That's exactly what I was looking for!
Hi,
You can create an email template like this.
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="0">
<record id="mail_template" model="mail.template">
<field name="name">Email Template</field>
<field name="model_id" ref="module.model"/>
<field name="subject">Subject</field>
<field name="email_to"></field>
<field name="body_html" type="html">
<table border="0" cellpadding="0" cellspacing="0"
style="padding-top: 16px; background-color: gray; font-family:Verdana, Arial,sans-serif; color: red; width: 100%; border-collapse:separate;">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" width="590"
style="padding: 16px; background-color: gray; color: red; border-collapse:separate;">
<tbody>
<!-- HEADER -->
<tr>
<td align="center" style="min-width: 590px;">
</td>
</tr>
<!-- CONTENT -->
<tr>
<td align="center" style="min-width: 590px;">
</td>
</tr>
<!-- FOOTER -->
<tr>
<td align="center" style="min-width: 590px;">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<!-- POWERED BY -->
<tr>
<td align="center" style="min-width: 590px;">
</td>
</tr>
</table>
</field>
<field name="lang">${object.lang}</field>
<field name="auto_delete" eval="True"/>
<field name="user_signature" eval="False"/>
</record>
</data>
</odoo>
Regards
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 10 23
|
2749 | ||
Header Footer Document Export
Đã xử lý
|
|
1
thg 6 23
|
2766 | |
|
0
thg 9 22
|
2162 | ||
|
1
thg 12 23
|
2199 | ||
|
0
thg 8 23
|
1696 |
Such email template does simply not exist :)