Resolve "[BB-6954] Improve scheduling of checklist reminders"
Allows admin to set reminder for the due date i.e. set reminders
field to 0
. This resolves the issue of reminder being sent on a day before due date.
Supporting information
- Jira ticket: BB-6991
- GitLab issue: #79 (closed)
Testing instructions
Step by step procedure
- Create checklist definition, recurrence with
0
as one for the values inreminders
field. - Open django shell using
make shell
python manage.py shell
- Run below code to trigger emails
from workflow.tasks import send_reminder_emails
send_reminder_emails("<due_date_in_YYYY-mm-dd>")
- This should print reminder mails.
Closes #79 (closed)
Edited by Navin Karkera