Browse Source

[FIX] emc: fix transaction email sending

pull/67/head
Manuel Claeys Bouuaert 5 years ago
parent
commit
167be1e6a1
  1. 4
      easy_my_coop/models/operation_request.py

4
easy_my_coop/models/operation_request.py

@ -316,10 +316,10 @@ class operation_request(models.Model):
self.write({'state': 'done'}) self.write({'state': 'done'})
sub_register_line = self.env['subscription.register'].create(values)
# send mail to the receiver # send mail to the receiver
if self.operation_type == 'transfer': if self.operation_type == 'transfer':
self.send_share_trans_mail(sub_register_line) self.send_share_trans_mail(sub_register_line)
sub_register_line = self.env['subscription.register'].create(values)
self.send_share_update_mail(sub_register_line) self.send_share_update_mail(sub_register_line)
Loading…
Cancel
Save