Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix reviews remarks

fowczarekb90e09d7f315
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 676961d868..49f880d319 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ All notable, unreleased changes to this project will be documented in this file.
- Fix populatedb gift card duplication error - #4336 by @fowczarek
- Fix voucher apply once per order - #4339 by @fowczarek
- Improve vouchers - #4293 by @fowczarek
+- Change type of start and end date for discounts on date time field - #4293 by @fowczarek
## 2.7.0
diff --git a/saleor/checkout/utils.py b/saleor/checkout/utils.py
index 16a76ab50d..42c8f3cc07 100644
--- a/saleor/checkout/utils.py
+++ b/saleor/checkout/utils.py
@@ -706,7 +706,9 @@ def _get_shipping_voucher_discount_for_checkout(
raise NotApplicable(msg)
return get_shipping_voucher_discount(
- voucher, checkout.get_subtotal(discounts, taxes), shipping_method.get_total()
+ voucher,
+ checkout.get_subtotal(discounts, taxes),
+ shipping_method.get_total(taxes),
)