diff --git a/models/acc_contract.py b/models/acc_contract.py index d5a710103a607f4e5c4551eb0408e68340cfb69d..14e97ff7ba7f7f1a8c8ff3cfda52252f9869f581 100644 --- a/models/acc_contract.py +++ b/models/acc_contract.py @@ -55,12 +55,12 @@ class AccContract(models.Model): template = self.env.ref( 'acc_operation.email_template_document', raise_if_not_found=False) - template.with_context().send_mail(doc.seller_id.id) + template.with_context().send_mail(doc.seller_id.id, force_send=True) if doc.buyer_id: template = self.env.ref( 'acc_operation.email_template_document', raise_if_not_found=False) - template.with_context().send_mail(doc.buyer_id.id) + template.with_context().send_mail(doc.buyer_id.id, force_send=True) return doc # ------------------------------------------------------ # Actions