Commit 85971ec1 by Adam Stankiewicz

Merge branch 'astankiewicz/fix-unicode-product-name-bug' into business/hornets

parents 9d4b3094 133a85f2
......@@ -510,10 +510,8 @@ class EnrollmentCodeFulfillmentModule(BaseFulfillmentModule):
_range.catalog = coupon_catalog
_range.save()
voucher_name = unicode('Enrollment code voucher [{}]'.format(line.product.title))
vouchers = create_vouchers(
name=voucher_name,
name=unicode('Enrollment code voucher [{}]').format(line.product.title),
benefit_type=Benefit.PERCENTAGE,
benefit_value=100,
catalog=coupon_catalog,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment