Fix minimum amount for the send_mail_to_negative_balances script

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-04-27 09:52:30 +02:00
parent 0c7070aea1
commit 1e9d731715
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class Command(BaseCommand):
if options['negative_amount'] == 0:
# Don't log empty notes
options['negative_amount'] = 0.01
options['negative_amount'] = 1
notes = Note.objects.filter(
Q(noteuser__user__memberships__date_end__gte=