Projet

Général

Profil

Development #65357

intégrer chrono.pricing

Ajouté par Frédéric Péters il y a presque 2 ans. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
17 mai 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Déplacer l'historique de chrono.pricing vers ce module, pour y gérer aussi la partie tarification.

Révisions associées

Révision 83f0c98b (diff)
Ajouté par Frédéric Péters il y a presque 2 ans

add agendas app with basic models (#65357)

Révision 348465ff (diff)
Ajouté par Frédéric Péters il y a presque 2 ans

pricing: adjust after integration (#65357)

Historique

#1

Mis à jour par Frédéric Péters il y a presque 2 ans

  • Statut changé de Nouveau à Solution proposée

Voilà,

les commits qui étaient dans chrono :

  • ffd6ac1 pricing: import/export categories (#64746)
  • b9547a6 pricing: criterias can be ordered (#64746)
  • 8c92d99 pricing: add pricing variables (#64561)
  • 7e2a77e pricing: configuration of pricing models (#64903)
  • 8da1603 pricing: categories can be reordered in a pricing model (#64903)
  • 393445d pricing: variable configuration (#64903)
  • f12c76b pricing: import/export pricing models (#64903)
  • 94aa67b pricing: pricing configuration on events agenda (#65053)
  • a9b21ae pricing: iter_pricing_matrix method (#65053)
  • 9ca3ecc pricing: display agenda pricing matrix on detail page (#65053)
  • 9a0b9f2 pricing: edit pricing_data (#65053)
  • 873a78f pricing: import/export pricing_data (#65053)
  • 02113a7 pricing: duplicate pricing model (#65231)
  • f2ed46b trivial: update translation strings
  • 4a3cc49 trivial: fix translation string in tests

et ensuite :

  • 3831b4b templates: load static templatetags, for django 3.2 compatibility
    • lingo avait un {% load staticfiles }, conversion vers { load static %} pour la compatibilité 3.2
  • 68f0571 tests: add mini utils module, with a login method
    • utilisé dans les tests, un tests/utils.py avec une méthode login
  • 6865111 add agendas app with basic models (#65357)
    • application de base avec les modèles Agenda (basique), CheckTypeGroup, CheckTypeManager, CheckType
  • b4476fa pricing: adjust after integration (#65357)
    • commit moche avec en vrac du renommmage chrono → lingo, l'ajout de views mixins qu'utilisent certaines vues de la tarification, un gabarit manager_confirm_delete.html générique, l'ajout à INSTALLED_APPS, à urls.py, des tests marqués xfail, etc.
  • 682402e misc: declare publik-django-templatetags dependency
    • côté tox et debian
  • 29505e9 pricing: add temporary noqa markers
    • pylint qui râle sur des Event et autres comme "undefined-variable", mais je préfère marquer ça d'un noqa que changer le code
  • 9ed50c5 tox: add django to pylint environment
    • ajout de django à l'environnement pylint (pas nécessairement utile, et sans doute tiré indirectement via publik-django-templatetags)
  • cf55995 tox: do not run pylint on tests/ for now
    • suppression de l'exécution, parce qu'un tas de "undefined-variable" comme deux commits plus haut,
  • 36de24d ci: add invalid-str-returned to pylint
    • ajout de cette exception au pylintrc, pour les str de modèles django, qui font return self.whatever, avec whatever qui est la déclaration du champ du modèle mais pylint dit que ça ne fait pas le bon type.
#2

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Statut changé de Solution proposée à Solution validée

ajouter le fix py37 ? :)

#3

Mis à jour par Frédéric Péters il y a presque 2 ans

Yep déjà dans la branche.

#4

Mis à jour par Frédéric Péters il y a presque 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
6679f33 pricing: fix dataclass use with List & py37 (#65370)
ac4e82b ci: add invalid-str-returned to pylint
0784cf5 tox: do not run pylint on tests/ for now
f865371 tox: add django to pylint environment
1961c9b pricing: add temporary noqa markers
15c75af misc: declare publik-django-templatetags dependency
348465f pricing: adjust after integration (#65357)
83f0c98 add agendas app with basic models (#65357)
a8c7a8f tests: add mini utils module, with a login method
3831b4b templates: load static templatetags, for django 3.2 compatibility
4a3cc49 trivial: fix translation string in tests
f2ed46b trivial: update translation strings
02113a7 pricing: duplicate pricing model (#65231)
873a78f pricing: import/export pricing_data (#65053)
9a0b9f2 pricing: edit pricing_data (#65053)
9ca3ecc pricing: display agenda pricing matrix on detail page (#65053)
a9b21ae pricing: iter_pricing_matrix method (#65053)
94aa67b pricing: pricing configuration on events agenda (#65053)
f12c76b pricing: import/export pricing models (#64903)
393445d pricing: variable configuration (#64903)
8da1603 pricing: categories can be reordered in a pricing model (#64903)
7e2a77e pricing: configuration of pricing models (#64903)
8c92d99 pricing: add pricing variables (#64561)
b9547a6 pricing: criterias can be ordered (#64746)
ffd6ac1 pricing: import/export categories (#64746)
240ec56 pricing: configuration of criterias and categories (#64746)
4ac5e9f pricing: add tests
3395cfb pricing: apply modifier according to booking status (#64565)
d4e0a1e pricing: get pricing data for event & users (#64562)
d7ac0ce pricing: add models (#63808)
#5

Mis à jour par Transition automatique il y a plus d'un an

  • Statut changé de Résolu (à déployer) à Solution déployée
#6

Mis à jour par Transition automatique il y a plus d'un an

Automatic expiration

Formats disponibles : Atom PDF