This commit is contained in:
Matthias 2021-05-06 16:46:52 +02:00
parent 660a3f9410
commit 792b2d11c0

View File

@ -1968,12 +1968,7 @@ class PartPricing(AjaxView):
return None
def get_pricing(self, quantity=1, currency=None):
# try:
# quantity = int(quantity)
# except ValueError:
# quantity = 1
""" returns context with pricing information """
if quantity <= 0:
quantity = 1