Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update ValidationError msg in FulfillmentCreate mutation
IKarbowiak3da81a3635ea
diff --git a/saleor/graphql/order/mutations/fulfillments.py b/saleor/graphql/order/mutations/fulfillments.pyindex 3e158dae20..d448c58450 100644--- a/saleor/graphql/order/mutations/fulfillments.py+++ b/saleor/graphql/order/mutations/fulfillments.py@@ -107,7 +107,7 @@ class FulfillmentCreate(BaseMutation):line_quantity_unfulfilled = order_line.quantity_unfulfilledif quantity > line_quantity_unfulfilled:msg = (- "Only %(quantity)d item%(item_pluralize)s remaining"+ "Only %(quantity)d item%(item_pluralize)s remaining ""to fulfill: %(order_line)s.") % {"quantity": line_quantity_unfulfilled,