Browse Source

[FIX] fix retrieving mail template through self.env.ref

pull/16/head
houssine 5 years ago
parent
commit
94447b39c5
  1. 2
      easy_my_coop/models/coop.py

2
easy_my_coop/models/coop.py

@ -384,7 +384,7 @@ class SubscriptionRequest(models.Model):
return res
def send_capital_release_request(self, invoice):
email_template = self.env.ref('email_template_release_capital', False)
email_template = self.env.ref('easy_my_coop.email_template_release_capital', False)
# we send the email with the capital release request in attachment
# TODO remove sudo() and give necessary access right

Loading…
Cancel
Save