summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-09 11:32:19 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-09 11:32:19 +0700
commitdb98db3e34ac47eeea0fc53f215cb483d6c5d5f9 (patch)
treec2c0d2d8f8eab283a8f12b332ebe8b2113c07fd7 /indoteknik_custom/views
parent1a3b0976b06543a9b107897a906dc50a8bf9c3d2 (diff)
(andri) scheduler reminder due inv
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/mail_template_invoice_reminder.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/indoteknik_custom/views/mail_template_invoice_reminder.xml b/indoteknik_custom/views/mail_template_invoice_reminder.xml
new file mode 100644
index 00000000..b19171b2
--- /dev/null
+++ b/indoteknik_custom/views/mail_template_invoice_reminder.xml
@@ -0,0 +1,55 @@
+<?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="account.model_account_move"/>
+ <field name="subject">[Reminder] Invoice ${object.name} is Due Soon</field>
+ <field name="email_from">finance@indoteknik.co.id</field>
+ <field name="reply_to">finance@indoteknik.co.id</field>
+ <field name="email_to">andrifebriyadiputra@gmail.com</field>
+ <field name="body_html" type="html">
+ <div style="font-family:Arial, sans-serif; font-size:14px;">
+ <p>Dengan Hormat Bpk/Ibu ${object.partner_id.name},</p>
+
+ <p>Berikut adalah detail invoice Anda yang sudah 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>Invoice Number</th>
+ <th>Tanggal Invoice</th>
+ <th>Jatuh Tempo</th>
+ <th>Sisa Hari</th>
+ <th>Total</th>
+ <th>Referensi</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>${object.name}</td>
+ <td>${format_date(object.invoice_date)}</td>
+ <td>${format_date(object.invoice_date_due)}</td>
+ <td>${object.invoice_day_to_due}</td>
+ <td>${format_amount(object.amount_total, object.currency_id)}</td>
+ <td>${object.ref or '-'}</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p>Mohon segera melakukan proses pembayaran sebelum jatuh tempo.</p>
+
+ <p>Terima kasih atas perhatian dan kerjasamanya.</p>
+
+ <p>
+ Hormat Kami,<br/>
+ <strong>PT. INDOTEKNIK DOTCOM GEMILANG</strong><br/>
+ 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>