|
@ -235,7 +235,7 @@ class TaxShelterCertificate(models.Model): |
|
|
tax_shelter_mail_template.send_mail_with_multiple_attachments(certificate.id, attachments,True) |
|
|
tax_shelter_mail_template.send_mail_with_multiple_attachments(certificate.id, attachments,True) |
|
|
certificate.state = 'sent' |
|
|
certificate.state = 'sent' |
|
|
else: |
|
|
else: |
|
|
certificate.state = 'non_eligible' |
|
|
|
|
|
|
|
|
certificate.state = 'no_eligible' |
|
|
self.env.cr.commit() |
|
|
self.env.cr.commit() |
|
|
|
|
|
|
|
|
@api.multi |
|
|
@api.multi |
|
|