diff --git a/odex25_takaful/odex_takaful/data/takaful_notification_mail_template.xml b/odex25_takaful/odex_takaful/data/takaful_notification_mail_template.xml
index 4ff2f0db6..6d593569d 100644
--- a/odex25_takaful/odex_takaful/data/takaful_notification_mail_template.xml
+++ b/odex25_takaful/odex_takaful/data/takaful_notification_mail_template.xml
@@ -1,13 +1,14 @@
Amount: ${object.total_sponsorship_amount} ${object.currency_id.name}
Link:
-
+
Open Sponsorship Receipt
Your refund request has been confirmed.
@@ -44,7 +47,7 @@Reason: ${object.cancel_record_id.cancel_reason.name}
Link: - + Open Sponsorship Receipt
diff --git a/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py b/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py index 79dc8dd49..1322c5c35 100644 --- a/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py +++ b/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py @@ -134,14 +134,12 @@ class TakafulSponsorship(models.Model): def action_quotation_send(self): self.ensure_one() - print('self.state >>>> ' , self.state) if self.state != 'canceled': - template = self.env.ref('odex_takaful.email_template_sponsorship_confirmation1') + template = self.env.ref('odex_takaful.email_template_sponsorship_confirmation10') else: - template = self.env.ref('odex_takaful.email_template_esterdad_confirmation3') + template = self.env.ref('odex_takaful.email_template_esterdad_confirmation20') lang = self.env.context.get('lang') - print('cancel_record_id >>>> ' , self.cancel_record_id.cancel_reason.name) if template.lang: lang = template._render_lang(self.ids)[self.id] diff --git a/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml b/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml index 23fa290c2..3d7bf02f7 100644 --- a/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml +++ b/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml @@ -11,18 +11,19 @@