Features: None;
Fixes: 1) Remove redundant check for 'system_email_sent' attribute in email logic; Extra: None;
This commit is contained in:
parent
817310b898
commit
6af5312b3f
1 changed files with 0 additions and 3 deletions
|
|
@ -132,9 +132,6 @@ def send_order_finished_email(order_pk: str) -> tuple[bool, str]:
|
|||
if not order.user:
|
||||
return False, f"Order's user not found with the given pk: {order_pk}"
|
||||
|
||||
if order.attributes.get("system_email_sent"):
|
||||
return True, str(order.uuid)
|
||||
|
||||
digital_ops = []
|
||||
|
||||
for digital_op in order.order_products.filter(
|
||||
|
|
|
|||
Loading…
Reference in a new issue