8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-06-01 23:42:34 +00:00
Commit graph

70 commits

Author SHA1 Message Date
Yoann Pétri 69f78d8c60 Ça se dit Rézo Metz 'tain 2021-01-24 16:37:09 +01:00
Gabriel Detraz 3091dca729 Fix : default value should be 0 2021-01-24 16:37:09 +01:00
Gabriel Detraz b56fc6baf2 Fix error on migration 48 and split for pg_triggers reason 2021-01-24 16:37:09 +01:00
grisel-davy 7ac894c168 Replace null by 0 in default value of duration_* 2021-01-24 16:37:09 +01:00
histausse 98639f54f0 Add the need_membership field to article
This field is a boolean indicating if the article can be purshased by
nonmembers.
2021-01-24 16:36:16 +01:00
histausse b317eceec3 Split the membership duration from the connection duration
changes:

Article:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership

Vente:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership
add method `test_membership_or_connection()` to replace
`bool(type_cotisation)`

Cotisation:
remove COTISATION_TYPE, date_start, date_end, type_cotisation
add date_start_con, date_end_con, date_start_memb, date_end_memb

create_cotis(date_start=False) -> create_cotis(date_start_con=False, date_start_memb=False)

+ migration
+ changes to use the new models in the remaining of the code
2021-01-24 16:36:16 +01:00
Laouen Fernet c8ed48145c Add migrations for improved translations 2019-11-24 23:27:57 +01:00
Hugo Levy-Falk c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00
Hugo Levy-Falk e0a65e4d04 Setup tests for Vente model. 2019-11-03 21:46:18 +01:00
Hugo Levy-Falk c76f32cf26 Fix #222 2019-11-03 19:55:37 +01:00
Hugo Levy-Falk a9194b405a Hello Lara :D
Just ran `find /var/www/re2o \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/Goulven/Lara/g'`.
2019-10-01 13:37:56 +02:00
Hugo Levy-Falk 0cb9388cde Fix #191 2019-09-30 15:20:20 +02:00
chirac a51c5f4b57 Fix Article (s) 2019-07-14 19:55:53 +02:00
Hugo LEVY-FALK 37dbfd2fbf Add Cost Estimates 2019-01-01 18:09:58 +01:00
Hugo LEVY-FALK f612e4192f Add remark to custom invoices 2019-01-01 18:09:58 +01:00
Alexandre Iooss 992dc97024 Fix initial migration
Initial migration was failing due to change_facture_pdf not being
initialised at the right time.
2018-09-19 10:06:09 +02:00
Pierre-Antoine Comby 6b1597c0c6 Module de paiement par note 2018-09-01 21:22:08 +02:00
Gabriel Detraz 2dd410fedf Fix l'envoie de mail, en postsave maintenant (plus propre) 2018-09-01 01:15:37 +02:00
Hugo LEVY-FALK 74a2e265fa Donne la bonne date lors de l'import des factures dans BaseInvoice. 2018-08-25 11:10:18 +02:00
Laouen Fernet a06082c6d4 Translation of cotisations/ (front) 2018-08-18 13:20:22 +02:00
Hugo LEVY-FALK 6cc22c376d Adapte les migrations de custom_invoice à la branche dev 2018-08-16 00:22:39 +02:00
Hugo LEVY-FALK 1284d9ffec Migration des permissions 2018-08-16 00:08:29 +02:00
Hugo LEVY-FALK d6091d117c Custom invoices. 2018-08-16 00:06:35 +02:00
Gabriel Detraz 56e6cfffe2 Fix comnpay url 2018-08-15 22:01:02 +02:00
Hugo LEVY-FALK f28ad9a12d Vérification de la permission de créditer le solde cohérente. 2018-07-16 20:14:26 +02:00
Hugo LEVY-FALK 337c8dd80b Ajoute l'affichage du moyen de paiement personnalisé dans la liste des paiements. 2018-07-15 14:58:04 +02:00
Hugo LEVY-FALK cc21c7a5c0 Fix de la migration pour les droits sur paiement 2018-07-13 22:59:59 +02:00
Hugo LEVY-FALK 557f2b43fb Ajoute la possibilité de faire vérifier un form pour le paiement personnalisé. 2018-07-13 20:19:57 +02:00
Hugo LEVY-FALK 36741e21a6 Plafond de solde optionnel + affiche le plafond de solde lors de la recharge. 2018-07-13 17:52:49 +02:00
Hugo LEVY-FALK c819cc891d typos, field inutiles, et documentation Google-style 2018-07-13 17:14:39 +02:00
Hugo LEVY-FALK 78b950c392 condense toutes les migrations des paiement personnalisés en une seule. 2018-07-13 15:15:01 +02:00
Hugo LEVY-FALK c05f8f826c Fix de la migration des données. 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK c1f55e797e Enlève le raw sql des migrations 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK f99d2cef60 Rend le aes_field disponible pour tout le monde et mon chibracounet facilement 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK cee7d5be7f Supprime l'ancienne valeur du comnpay pass 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK ab6babd45f Valeur par défaut nulle pour le minimum de solde. 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK 17f627c4c4 Plus de nom de paiement hardcodés ! 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK 6d5d9295d5 Ajout de la possibilité de recharger son solde. 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK cf7e470d85 ACL sur les paiements. 2018-07-12 14:40:16 +02:00
Hugo LEVY-FALK c979bdda45 Nommage des champs ComNpay 2018-07-12 14:40:16 +02:00
Hugo LEVY-FALK 692b3b70b6 Passage du paiement par solde en paiement personnalisé. 2018-07-12 14:40:16 +02:00
Hugo LEVY-FALK cc4815c82c Permet la création et l'édition de moyen de paiement personnalisés. 2018-07-12 14:40:16 +02:00
Hugo LEVY-FALK e0d71ed291 POC des moyens de paiements sous forme de modules. 2018-07-12 14:40:16 +02:00
Hugo LEVY-FALK beff1bbd1a Ne montre pas tous les articles en vente aux utilisateurs lambdas 2018-07-12 14:40:15 +02:00
Hugo LEVY-FALK 2eb0fc816d Paiement de cotisation en ligne possible pour les utilisateurs normaux (désactivable) 2018-07-12 14:40:15 +02:00
Maël Kervella 12a8f2ede6 Fix: missing migrations due to translation of cotisation 2018-04-14 18:57:48 +00:00
Hugo LEVY-FALK 107fa6b902 Devrait fixer le bug sur cotisations/migrations/0026_auto_20171028_0126.py 2018-03-03 00:17:42 +01:00
Gabriel Detraz 88d336816e Nouveau système d'acl sur topologie + migrations de cotisations 2018-01-06 18:00:08 +01:00
Gabriel Detraz 21c1dd1320 Unique together remplace unique 2017-10-29 11:57:43 +01:00
Gabriel Detraz 65dedc07d8 Fix bug migration 2017-10-28 05:08:31 +02:00