Allow to redeem a voucher for an existing cart (#1517)

* Allow to redeem a voucher for an existing cart

* Bundle behaviour
This commit is contained in:
Raphael Michel
2019-12-11 15:58:22 +01:00
committed by GitHub
parent 352942b7d6
commit 99f3db04a9
8 changed files with 365 additions and 3 deletions

View File

@@ -164,6 +164,7 @@ class CartMixin:
return {
'positions': positions,
'all_with_voucher': all(p.voucher_id for p in positions),
'raw': cartpos,
'total': total,
'net_total': net_total,