Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Fix minimum amount for the send_mail_to_negative_balances script
· 1e9d7317
ynerant
authored
Apr 27, 2021
Signed-off-by:
Yohann D'ANELLO
<
ynerant@crans.org
>
1e9d7317
Hide whitespace changes
Inline
Side-by-side
management/commands/send_mail_to_negative_balances.py
View file @
1e9d7317
...
...
@@ -27,7 +27,7 @@ class Command(BaseCommand):
if
options
[
'
negative_amount
'
]
==
0
:
# Don't log empty notes
options
[
'
negative_amount
'
]
=
0.0
1
options
[
'
negative_amount
'
]
=
1
notes
=
Note
.
objects
.
filter
(
Q
(
noteuser__user__memberships__date_end__gte
=
...
...