summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-22 10:15:45 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-22 10:15:45 +0700
commit8b179c22149366ecf4dd9de6e5e7b5be612e355b (patch)
treeb1b662ce20cba6a8ad6b89c9f962a796d389ce80
parent7965212570e382b1fe94a96cfe16f3d2babb1d27 (diff)
(andri) add template
-rwxr-xr-xindoteknik_custom/__manifest__.py3
-rw-r--r--indoteknik_custom/views/mail_template_closing_apt.xml32
2 files changed, 34 insertions, 1 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py
index cf7cf1e4..90fa915f 100755
--- a/indoteknik_custom/__manifest__.py
+++ b/indoteknik_custom/__manifest__.py
@@ -183,7 +183,8 @@
'views/letter_receivable.xml',
'views/letter_receivable_mail_template.xml',
# 'views/reimburse.xml',
- 'views/sj_tele.xml'
+ 'views/sj_tele.xml',
+ 'views/mail_template_closing_apt.xml',
],
'demo': [],
'css': [],
diff --git a/indoteknik_custom/views/mail_template_closing_apt.xml b/indoteknik_custom/views/mail_template_closing_apt.xml
new file mode 100644
index 00000000..5df2813b
--- /dev/null
+++ b/indoteknik_custom/views/mail_template_closing_apt.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <data noupdate="0">
+ <record id="mail_template_closing_apt" model="mail.template">
+ <field name="name"></field>
+ <field name="model_id" ref="indoteknik_custom.model_approval_payment_term"/>
+ <field name="subject"></field>
+ <field name="email_from">finance@indoteknik.co.id</field>
+ <field name="email_to"></field>
+ <field name="body_html" type="html">
+ <div style="font-family:Arial, sans-serif; font-size:13px; color:#333;">
+ <p>
+ <b>
+ Best Regards,<br/><br/>
+ Widya R.<br/>
+ Dept. Finance<br/>
+ PT. INDOTEKNIK DOTCOM GEMILANG<br/>
+ <img src="https://erp.indoteknik.com/api/image/ir.attachment/datas/2135765"
+ alt="Indoteknik" style="max-width:18%; height:auto;"/><br/>
+ <a href="https://wa.me/6285716970374" target="_blank">+62-857-1697-0374</a> |
+ <a href="mailto:finance@indoteknik.co.id">finance@indoteknik.co.id</a>
+ </b>
+ </p>
+ <!-- <p style="font-size:11px; color:#777;">
+ <i>Email ini dikirim secara otomatis. Abaikan jika pembayaran telah dilakukan.</i>
+ </p> -->
+ </div>
+ </field>
+ <field name="auto_delete" eval="True"/>
+ </record>
+ </data>
+</odoo>