Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Mail de rappel sur projet en pause #1045

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

etchegom
Copy link
Collaborator

@etchegom etchegom commented Feb 13, 2025

Il s'agit de :

  • Une correction de bug
  • Une nouvelle fonctionnalité programmée
  • Une nouvelle fonctionnalité spontanée

Décrivez vos changements

#983

Checklist d'acceptation de revue de code

  • Aucun texte ne fait référence à du vocabulaire spécifique d'un métier
  • Mon code est auto-documenté ou la documentation a été mise à jour/créée
  • La gestion du multi-portail a été prise en compte
  • L'accessibilité a été prise en compte
  • Pre-commit est configuré et a été lancé
  • Des tests couvrant le code changé ont été ajoutés/modifiés
  • L'ensemble des tests front et back sont au vert

Demandes

  • Je souhaite un déploiement en préproduction

@etchegom etchegom self-assigned this Feb 13, 2025
@etchegom etchegom force-pushed the fix/reminder-inactive-projects branch from 22a17d6 to 2631a0c Compare February 13, 2025 16:05
@etchegom etchegom marked this pull request as ready for review February 13, 2025 16:13
Comment on lines +610 to +613
# FIXME: can't we remove this one?..
# if request.site not in crm_user.profile.sites.all():
# # only for user of current site
# raise Http404
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glibersat on peut virer ça non? Ou un truc m'échappe?

future_reminders = (
reminders_models.Reminder.on_site.filter(
project__in=Project.on_site.filter(
inactive_since__isnull=True,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On n'affiche plus les reminders des projets en pause.

@etchegom etchegom requested a review from glibersat February 13, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant