Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix nits
akjanike070e73962ce
diff --git a/saleor/dashboard/order/forms.py b/saleor/dashboard/order/forms.pyindex f370abd3d2..fcc649ae74 100644--- a/saleor/dashboard/order/forms.py+++ b/saleor/dashboard/order/forms.py@@ -197,7 +197,7 @@ class ShipGroupForm(forms.ModelForm):fields = ['tracking_number']labels = {'tracking_number': pgettext_lazy(- 'Shipment group form label', 'tracking number')}+ 'Shipment group form label', 'Tracking number')}def __init__(self, *args, **kwargs):super().__init__(*args, **kwargs)diff --git a/saleor/dashboard/shipping/forms.py b/saleor/dashboard/shipping/forms.pyindex 9160cb9b3e..2f8880ad9d 100644--- a/saleor/dashboard/shipping/forms.py+++ b/saleor/dashboard/shipping/forms.py@@ -11,9 +11,9 @@ class ShippingMethodForm(forms.ModelForm):exclude = []labels = {'name': pgettext_lazy(- 'Shipping method form label', 'Shipping method'),+ 'Shipping method form label', 'Name'),'description': pgettext_lazy(- 'Shipping method form label', 'Method description')}+ 'Shipping method form label', 'Description')}class ShippingMethodCountryForm(forms.ModelForm):@@ -24,8 +24,8 @@ class ShippingMethodCountryForm(forms.ModelForm):widgets = {'shipping_method': forms.widgets.HiddenInput()}labels = {'country_code': pgettext_lazy(- 'Shipping method country form label', 'Country code'),+ 'Shipping method country form label', 'Country code'),'shipping_method': pgettext_lazy(- 'Shipping method country form label', 'Shipping method'),+ 'Shipping method country form label', 'Shipping method'),'price': pgettext_lazy(- 'Shipping method country form label', 'Price')}+ 'Shipping method country form label', 'Price')}diff --git a/saleor/discount/models.py b/saleor/discount/models.pyindex b8664ec4c5..f864bd0926 100644--- a/saleor/discount/models.py+++ b/saleor/discount/models.py@@ -106,8 +106,9 @@ class Voucher(models.Model):'product.Category', blank=True, null=True, on_delete=models.CASCADE)apply_to = models.CharField(max_length=20, blank=True, null=True)- limit = PriceField(max_digits=12, decimal_places=2, null=True,- blank=True, currency=settings.DEFAULT_CURRENCY)+ limit = PriceField(+ max_digits=12, decimal_places=2, null=True, blank=True,+ currency=settings.DEFAULT_CURRENCY)objects = VoucherQueryset.as_manager()