blob: 176a68bae233ecd11fd40bf40609d4e8ccf84147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="mail_template_invoice_due_reminder" model="mail.template">
<field name="name">Invoice Reminder: Due Date Notification</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">[Reminder] Invoice Due Summary for ${object.name}</field>
<field name="email_from">finance@indoteknik.co.id</field>
<field name="email_to">andrifebriyadiputra@gmail.com</field>
<!-- <field name="email_to">${object.email|safe}</field> -->
<field name="body_html" type="html">
<div style="font-family:Arial, sans-serif; font-size:14px;">
<p>Dengan Hormat Bpk/Ibu ${object.name},</p>
<p>Berikut adalah daftar invoice Anda yang mendekati atau telah jatuh tempo:</p>
<table border="1" cellpadding="6" cellspacing="0" style="border-collapse: collapse; width: 100%;">
<thead>
<tr style="background-color: #f2f2f2;">
<th>No</th>
<th>Invoice Number</th>
<th>Tanggal</th>
<th>Jatuh Tempo</th>
<th>Sisa Hari</th>
<th>Total</th>
<th>Referensi</th>
</tr>
</thead>
<tbody>
<t t-set="i" t-value="1"/>
<t t-foreach="ctx.get('invoices', [])" t-as="inv">
<tr>
<td><t t-esc="i"/></td>
<td><t t-esc="inv.name"/></td>
<td><t t-esc="format_date(inv.invoice_date)"/></td>
<td><t t-esc="format_date(inv.invoice_date_due)"/></td>
<td><t t-esc="inv.invoice_day_to_due"/></td>
<td><t t-esc="format_amount(inv.amount_total, inv.currency_id)"/></td>
<td><t t-esc="inv.ref or '-'"/></td>
</tr>
<t t-set="i" t-value="i + 1"/>
</t>
</tbody>
</table>
<p>Mohon segera melakukan proses pembayaran. Terima kasih.</p>
<p>
Hormat Kami,<br/>
<strong>PT. INDOTEKNIK DOTCOM GEMILANG</strong><br/>
Telp: 021-2933 8828 / 29<br/>
Email: finance@indoteknik.co.id
</p>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
</data>
</odoo>
|