summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-10 15:28:10 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-10 15:28:10 +0700
commit839474c5f411b8c6c2476d8dcda9a6068d9848e5 (patch)
tree0de52ccc6a557f8d4511ce1e81501fa2d844ae36
parent659a62598fd984a233e9eee6f40ee6408ce17ac6 (diff)
(andri) try test
-rw-r--r--indoteknik_custom/models/account_move.py4
-rw-r--r--indoteknik_custom/views/mail_template_invoice_reminder.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 822c54f7..6c4eb14b 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -150,8 +150,8 @@ class AccountMove(models.Model):
_logger.info(f"VALUES: {values}")
- # self.env['mail.mail'].create(values).send()
- # _logger.info(f"Reminder terkirim ke {partner.name} ({values['email_to']}) → {len(invs)} invoice")
+ self.env['mail.mail'].create(values).send()
+ _logger.info(f"Reminder terkirim ke {partner.name} ({values['email_to']}) → {len(invs)} invoice")
@api.onchange('invoice_date')
diff --git a/indoteknik_custom/views/mail_template_invoice_reminder.xml b/indoteknik_custom/views/mail_template_invoice_reminder.xml
index b39730b6..92362284 100644
--- a/indoteknik_custom/views/mail_template_invoice_reminder.xml
+++ b/indoteknik_custom/views/mail_template_invoice_reminder.xml
@@ -6,7 +6,7 @@
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">[Reminder] Invoice Manual</field>
<field name="email_from">finance@indoteknik.co.id</field>
- <field name="email_to">test@example.com</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,</p>