8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 04:43:10 +00:00
Commit graph

79 commits

Author SHA1 Message Date
Hugo Levy-Falk
da927754e0 fix: Permission DoesNotExist when accessing BaseInvoice history
See the issue for details.

Closes #317 .
2021-01-24 11:07:19 +01:00
Hugo Levy-Falk
af70a7893b feat: Integrate the removal of LDAP to migration squash. 2021-01-11 21:53:49 +01:00
Hugo Levy-Falk
cf9f9d811f Foreign keys 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
33497893d8 Fix miscellanous model creation mistakes. 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
7792be978d Fix dependecies graph creation. 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
18db73f2bc fix dependencies names 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
d03ae4f52d Cotisations models definition. 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
4d82eda5b1 Code formatting. 2020-12-28 16:38:44 +01:00
Hugo Levy-Falk
7f36b642ac Remove useless MinValueValidator(0) on PositiveIntegerField. 2020-12-28 16:37:43 +01:00
d1d4ea6af3
Ça se dit Rézo Metz 'tain 2020-11-23 17:06:37 +01:00
Gabriel Detraz
dfb688f995 Fix : default value should be 0 2020-11-02 23:43:54 +01:00
Gabriel Detraz
01af6ea927 Fix error on migration 48 and split for pg_triggers reason 2020-11-02 23:07:13 +01:00
grisel-davy
89c805f61b Replace null by 0 in default value of duration_* 2020-10-17 00:34:56 +02:00
histausse
a01c9e2303 Add the need_membership field to article
This field is a boolean indicating if the article can be purshased by
nonmembers.
2020-10-08 22:23:34 +02:00
histausse
640499a9e2 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
2020-10-08 22:22:48 +02: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