Browse Source
Merge pull request #83 from coopdevs/fix/payment-received-email-template
[FIX] coop_it_easy: Pick right email template for payment confirmation
pull/92/head
Houssine BAKKALI
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
easy_my_coop/models/account_invoice.py
|
@ -105,13 +105,13 @@ class account_invoice(models.Model): |
|
|
sub_register_obj = self.env['subscription.register'] |
|
|
sub_register_obj = self.env['subscription.register'] |
|
|
share_line_obj = self.env['share.line'] |
|
|
share_line_obj = self.env['share.line'] |
|
|
|
|
|
|
|
|
|
|
|
certificate_email_template = self.get_mail_template_certificate() |
|
|
|
|
|
|
|
|
self.set_membership() |
|
|
self.set_membership() |
|
|
|
|
|
|
|
|
sequence_operation = self.get_sequence_operation() |
|
|
sequence_operation = self.get_sequence_operation() |
|
|
sub_reg_operation = sequence_operation.next_by_id() |
|
|
sub_reg_operation = sequence_operation.next_by_id() |
|
|
|
|
|
|
|
|
certificate_email_template = self.get_mail_template_certificate() |
|
|
|
|
|
|
|
|
|
|
|
for line in self.invoice_line_ids: |
|
|
for line in self.invoice_line_ids: |
|
|
sub_reg_vals = self.get_subscription_register_vals(line, |
|
|
sub_reg_vals = self.get_subscription_register_vals(line, |
|
|
effective_date) |
|
|
effective_date) |
|
|