Move auto check-in to plugin with more functionality (#4331)

* Move auto check-in to plugin with more functionality

* Rename field

* Add to MANIFEST.in
This commit is contained in:
Raphael Michel
2024-07-29 09:46:53 +02:00
committed by GitHub
parent c6a2ae3783
commit cab360bdb6
28 changed files with 2285 additions and 6 deletions

View File

@@ -1154,7 +1154,7 @@ def perform_checkin(op: OrderPosition, clist: CheckinList, given_answers: dict,
)
@receiver(order_placed, dispatch_uid="autocheckin_order_placed")
@receiver(order_placed, dispatch_uid="legacy_autocheckin_order_placed")
def order_placed(sender, **kwargs):
order = kwargs['order']
event = sender
@@ -1171,7 +1171,7 @@ def order_placed(sender, **kwargs):
checkin_created.send(event, checkin=ci)
@receiver(periodic_task, dispatch_uid="autocheckin_exit_all")
@receiver(periodic_task, dispatch_uid="autocheckout_exit_all")
@scopes_disabled()
def process_exit_all(sender, **kwargs):
qs = CheckinList.objects.filter(