Commit 2e6a1b5e by Saleem Latif

Merge branch 'saleem-latif/ENT-898' into business/mostly_cloudy

parents 927d7a2d 2dfeebb3
......@@ -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