Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update order.utils
IKarbowiakdfe078f8243b
diff --cc saleor/order/utils.pyindex 737442b2be,bc76dd9482..7078baf8ba--- a/saleor/order/utils.py+++ b/saleor/order/utils.py@@@ -349,5 -349,5 +349,5 @@@ def get_voucher_discount_for_order(ordeif order.voucher.type == VoucherType.SHIPPING:return order.voucher.get_discount_amount_for(order.shipping_price)if order.voucher.type == VoucherType.SPECIFIC_PRODUCT:-- return get_products_voucher_discount_for_order(order, order.voucher)++ return get_products_voucher_discount_for_order(order.voucher)raise NotImplementedError("Unknown discount type")