diff --git a/api/models/order.py b/api/models/order.py index abd34a2e..92e59998 100644 --- a/api/models/order.py +++ b/api/models/order.py @@ -350,7 +350,8 @@ class Order(models.Model): self.log( f"Order state went from {old_status}: {Order.Status(old_status).label} to {new_status}: {Order.Status(new_status).label}" ) - send_status_notification.delay(order_id=self.id, status=self.status) + if old_status != new_status: + send_status_notification.delay(order_id=self.id, status=self.status) @receiver(pre_delete, sender=Order)