Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Allow shipping vouchers that don't specify a country
Patryk Zawadzki9c9c1ebdad62
diff --git a/saleor/dashboard/discount/forms.py b/saleor/dashboard/discount/forms.pyindex 45572335fe..ff7ac240aa 100644--- a/saleor/dashboard/discount/forms.py+++ b/saleor/dashboard/discount/forms.py@@ -64,7 +64,8 @@ class ShippingVoucherForm(forms.ModelForm):label=pgettext_lazy('voucher', 'Only if shipping cost is less than or equal to'))apply_to = forms.ChoiceField(- label=pgettext_lazy('voucher', 'Country'), choices=country_choices)+ label=pgettext_lazy('voucher', 'Country'), choices=country_choices,+ required=False)class Meta:model = Voucher