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:
parent
0c7070aea1
commit
1e9d731715
|
@ -27,7 +27,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
if options['negative_amount'] == 0:
|
if options['negative_amount'] == 0:
|
||||||
# Don't log empty notes
|
# Don't log empty notes
|
||||||
options['negative_amount'] = 0.01
|
options['negative_amount'] = 1
|
||||||
|
|
||||||
notes = Note.objects.filter(
|
notes = Note.objects.filter(
|
||||||
Q(noteuser__user__memberships__date_end__gte=
|
Q(noteuser__user__memberships__date_end__gte=
|
||||||
|
|
Loading…
Reference in New Issue