summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-09 14:33:52 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-09 14:33:52 +0700
commit00b357fa35ff809c153a5aeaf67f97a00715e463 (patch)
tree72af63c319ef0fa9f9383a1b7e13591009d18703
parent028480352e86ac8cbfef5ea4834caf111ebfb3d4 (diff)
(andr) try2
-rw-r--r--indoteknik_custom/models/account_move.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 436dfcaa..c3908daf 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -114,7 +114,9 @@ class AccountMove(models.Model):
template = self.env.ref('indoteknik_custom.mail_template_invoice_due_reminder')
try:
- email_values = template.with_context(invoices=invoices).generate_email(partner.id)
+ email_values = template.with_context(invoices=invoices).generate_email(
+ partner.id,
+ ['subject', 'body_html', 'email_to', 'email_from'])
email_values['email_to'] = 'andrifebriyadiputra@gmail.com' # override untuk test
email_values['email_from'] = 'finance@indoteknik.co.id'