Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Typo order_needs_automatic_fullfilment to order_needs_automatic_fulfillment
Dalton65b7be848776
diff --git a/saleor/order/actions.py b/saleor/order/actions.pyindex c72a8b4324..cad541ae35 100644--- a/saleor/order/actions.py+++ b/saleor/order/actions.py@@ -44,7 +44,7 @@ def handle_fully_paid_order(order: "Order"):)send_payment_confirmation.delay(order.pk)- if utils.order_needs_automatic_fullfilment(order):+ if utils.order_needs_automatic_fulfillment(order):automatically_fulfill_digital_lines(order)try:analytics.report_order(order.tracking_client_id, order)diff --git a/saleor/order/utils.py b/saleor/order/utils.pyindex 20804cbf52..5e1ff74de0 100644--- a/saleor/order/utils.py+++ b/saleor/order/utils.py@@ -44,7 +44,7 @@ def order_line_needs_automatic_fulfillment(line: OrderLine) -> bool:return False-def order_needs_automatic_fullfilment(order: Order) -> bool:+def order_needs_automatic_fulfillment(order: Order) -> bool:"""Check if order has digital products which should be automatically fulfilled."""for line in order.lines.digital():if order_line_needs_automatic_fulfillment(line):