diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-07-11 10:45:26 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-07-11 10:45:26 +0700 |
| commit | 575a7a506382487a625914a7bde9a18b20173cc6 (patch) | |
| tree | a41959e9f286fe1bc680664e0b6478114b49cc9f | |
| parent | 9aa1682f36cad78e04d3367c1d30867c7706a5d1 (diff) | |
(andri) rev template email & fix sequence approval
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 2 | ||||
| -rw-r--r-- | indoteknik_custom/views/ir_sequence.xml | 2 | ||||
| -rw-r--r-- | indoteknik_custom/views/mail_template_invoice_reminder.xml | 26 |
3 files changed, 17 insertions, 13 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py index ddd2f7d9..5ac1c6e5 100644 --- a/indoteknik_custom/models/account_move.py +++ b/indoteknik_custom/models/account_move.py @@ -85,7 +85,7 @@ class AccountMove(models.Model): today + timedelta(days=7), ] - partner = self.env['res.partner'].search([('name', 'ilike', 'PROBAN OSTBURG TRISAKTI')], limit=1) + partner = self.env['res.partner'].search([('name', 'ilike', 'FLYNINDO MEGA PERSADA')], limit=1) if not partner: _logger.info("Partner tidak ditemukan.") return diff --git a/indoteknik_custom/views/ir_sequence.xml b/indoteknik_custom/views/ir_sequence.xml index a0f5fc6b..d9b93ff3 100644 --- a/indoteknik_custom/views/ir_sequence.xml +++ b/indoteknik_custom/views/ir_sequence.xml @@ -154,7 +154,7 @@ <record id="sequence_approval_payment_term" model="ir.sequence"> <field name="name">Approval Payment Term</field> <field name="code">approval.payment.term</field> - <field name="prefix">APP/%(year)s/</field> + <field name="prefix">APT/%(year)s/</field> <field name="padding">5</field> <field name="number_next">1</field> <field name="number_increment">1</field> diff --git a/indoteknik_custom/views/mail_template_invoice_reminder.xml b/indoteknik_custom/views/mail_template_invoice_reminder.xml index 4ed91c75..8b3b9880 100644 --- a/indoteknik_custom/views/mail_template_invoice_reminder.xml +++ b/indoteknik_custom/views/mail_template_invoice_reminder.xml @@ -2,20 +2,20 @@ <odoo> <data noupdate="0"> <record id="mail_template_invoice_due_reminder" model="mail.template"> - <field name="name">Invoice Reminder: Due Date Notification (Manual)</field> + <field name="name">Invoice Reminder: Due Date Notification</field> <field name="model_id" ref="account.model_account_move"/> - <field name="subject">[Reminder] Invoice Manual</field> + <field name="subject">Reminder Invoice Due - ${object.name}</field> <field name="email_from">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;"> + <div> <p><b>Dear ${object.name},</b></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;"> + <tr style="background-color: #f2f2f2;" align="left"> <th>Invoice Number</th> <th>Tanggal Invoice</th> <th>Jatuh Tempo</th> @@ -29,14 +29,18 @@ </table> <p>Mohon bantuan dan kerjasamanya agar tetap bisa bekerjasama dengan baik</p> - <p>Terima Kasih</p> + <p>Terima Kasih.</p> + <br/> + <br/> + <p><b>Best Regards, + <br/> + <br/> + Widya R.<br/> + Dept. Finance<br/> + PT. INDOTEKNIK DOTCOM GEMILANG</b><br/> + <img src="https://erp.indoteknik.com/api/image/ir.attachment/datas/2135765" alt="Indoteknik" style="max-width: 18%; height: auto;"></img><br/> + +62-857-1697-0374 | finance@indoteknik.co.id</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"/> |
