Fixed bug when modifying an expired cart including a voucher

This commit is contained in:
Raphael Michel
2016-09-17 23:42:23 +02:00
parent 852e3cced7
commit 5a9c760633
2 changed files with 13 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ def _re_add_expired_positions(items: List[dict], event: Event, cart_id: str, now
'count': 1,
'price': cp.price,
'cp': cp,
'voucher': cp.voucher
'voucher': cp.voucher.code
})
positions.add(cp)
return positions