Commit 2dfeebb3 by Saleem Latif

Changes after testing

parent f157a2cc
......@@ -507,6 +507,8 @@ class EnrollmentCodeFulfillmentModule(BaseFulfillmentModule):
stock_record = StockRecord.objects.get(product=seat, partner=seat.course.partner)
coupon_catalog = CouponViewSet.get_coupon_catalog([stock_record.id], seat.course.partner)
_range.catalog = coupon_catalog
_range.save()
vouchers = create_vouchers(
name='Enrollment code voucher [{}]'.format(line.product.title),
......
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