mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Delete add-ons explicitly
This commit is contained in:
@@ -1024,6 +1024,7 @@ class OrderChangeManager:
|
||||
'addon_to': opa.addon_to_id,
|
||||
'old_price': opa.price,
|
||||
})
|
||||
opa.delete()
|
||||
self.order.log_action('pretix.event.order.changed.cancel', user=self.user, auth=self.auth, data={
|
||||
'position': op.position.pk,
|
||||
'positionid': op.position.positionid,
|
||||
|
||||
Reference in New Issue
Block a user