Development #65326
Tarification - date de début par défaut pour la création d'une grille tarifaire
Début:
16 mai 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Création de la première grille tarifaire d'un agenda, positionner la date de début sur la date du jour
Création d'une autre grille tarifaire, positionner la date de début sur la dernière date de fin
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a presque 2 ans
- Fichier 0001-manager-initial-value-for-date_start-field-in-agenda.patch 0001-manager-initial-value-for-date_start-field-in-agenda.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
basé sur #65323
Mis à jour par Thomas Noël il y a presque 2 ans
Je ne suis pas très à l'aise mais au niveau des tests : « TIME_ZONE = 'UTC' » pour django.utils.timezone.now, or tu compares avec datetime.date.today() qui est la date locale sur la machine (Europe/Paris), il va donc y avoir une ou deux heures où ça ne va pas être la même chose. Non ? (Je peux me tromper, moi et les timezone...)
Mis à jour par Lauréline Guérin il y a presque 2 ans
- Fichier 0001-manager-initial-value-for-date_start-field-in-agenda.patch 0001-manager-initial-value-for-date_start-field-in-agenda.patch ajouté
j'ai changé le test pour checker now() au lieu de datetime.date.today
Mis à jour par Thomas Noël il y a presque 2 ans
- Statut changé de Solution proposée à Solution validée
Let's go !
Mis à jour par Lauréline Guérin il y a presque 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 7d2e8a2fca9a50a237afbd4f5b6fc8604090385e Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Fri Jun 3 08:39:21 2022 +0200 manager: initial value for date_start field in agenda pricing form (#65326)
Mis à jour par Transition automatique il y a plus d'un an
- Statut changé de Résolu (à déployer) à Solution déployée
manager: initial value for date_start field in agenda pricing form (#65326)