mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Reliably delete addons when deleting cart positions
This commit is contained in:
@@ -570,6 +570,7 @@ class CartManager:
|
||||
if op.position.expires > self.now_dt:
|
||||
for q in op.position.quotas:
|
||||
quotas_ok[q] += 1
|
||||
op.position.addons.all().delete()
|
||||
op.position.delete()
|
||||
|
||||
elif isinstance(op, self.AddOperation) or isinstance(op, self.ExtendOperation):
|
||||
|
||||
Reference in New Issue
Block a user