summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-07-10 08:34:00 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-07-10 08:34:00 +0000
commit256f4f7cc1e0899f30f8aaae844069e9537ed5e3 (patch)
treed7082be95a2591e213513e45bd892dd1ef57cdcf /indoteknik_custom/views
parentced1cf1a4733bc713f899d50d1e365f36c9fad56 (diff)
parent839474c5f411b8c6c2476d8dcda9a6068d9848e5 (diff)
Merged in reminder-tempo (pull request #354)
Reminder tempo
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/mail_template_invoice_reminder.xml30
1 files changed, 7 insertions, 23 deletions
diff --git a/indoteknik_custom/views/mail_template_invoice_reminder.xml b/indoteknik_custom/views/mail_template_invoice_reminder.xml
index 176a68ba..92362284 100644
--- a/indoteknik_custom/views/mail_template_invoice_reminder.xml
+++ b/indoteknik_custom/views/mail_template_invoice_reminder.xml
@@ -2,24 +2,22 @@
<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="name">Invoice Reminder: Due Date Notification (Manual)</field>
<field name="model_id" ref="base.model_res_partner"/>
- <field name="subject">[Reminder] Invoice Due Summary for ${object.name}</field>
+ <field name="subject">[Reminder] Invoice Manual</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>Dengan Hormat Bpk/Ibu,</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>Tanggal Invoice</th>
<th>Jatuh Tempo</th>
<th>Sisa Hari</th>
<th>Total</th>
@@ -27,34 +25,20 @@
</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>Mohon segera melakukan proses pembayaran untuk invoice-invoice tersebut.</p>
<p>
Hormat Kami,<br/>
<strong>PT. INDOTEKNIK DOTCOM GEMILANG</strong><br/>
- Telp: 021-2933 8828 / 29<br/>
- Email: finance@indoteknik.co.id
+ Jl. Bandengan Utara 85A No. 8-9, Penjaringan, Jakarta Utara<br/>
+ Telp: 021-2933 8828 / 29 | Email: finance@indoteknik.co.id
</p>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
-
</data>
</odoo>