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

150 commits

Author SHA1 Message Date
ec2b4afd41 style: 🎨 Apply black and isort 2021-02-14 09:29:10 +01:00
6736caf9f4 feat: ⬆️ Support for django 2.2 (#308)
Support for django 2.2. Rename django.conf.urlresolvers. Change url to path. Add apps to app folder. Edit migrations for on_delete. Edit models for on_delete.

Drop compatibility for django 1.x
2021-02-14 09:29:10 +01:00
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
d5bdc7fe41 Fix: Forgotten legacy ldap_sync calls in machines and cotisations. 2021-01-12 19:11:49 +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
grisel-davy
c931ec9fa0 Add number of article in the display of cotisation 2020-10-18 17:36:10 +02:00
grisel-davy
89c805f61b Replace null by 0 in default value of duration_* 2020-10-17 00:34:56 +02:00
grisel-davy
8c06bd4fca Fix creation of cotisation 2020-10-12 11:59:37 +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
Hugo Levy-Falk
0f6cf2a43b Fix availability of non cotisation articles in facture creation. 2020-09-01 21:13:05 +01:00
Hugo Levy-Falk
c4e8441718 Avoid failing when permissions depending on another model are None. 2020-04-30 22:32:17 +02:00
528bfcdef3 Fix calls to invoice.save 2020-04-19 19:19:06 +00:00
7cb869809e Make emails throw timeout errors, and gracefully handle them 2020-04-19 20:06:34 +02:00
Gabriel Detraz
f91f284ed1 Fix js calculation of price - NaN bug 2019-12-27 17:00:41 +01:00
e7a363866a Add start date tot create cotis 2019-12-20 07:43:35 +00:00
Hugo Levy-Falk
05501c90d9 Fix Overlapping invoices. 2019-12-15 15:24:54 +00:00
Laouen Fernet
2454de2032 Mark strings for translation in cotisations 2019-11-24 23:27:55 +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
034b50bc58 Fix #189 2019-11-04 00:25:29 +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
klafyvel
657ef77bfe Remove contributor levy arcas 2019-09-24 00:44:16 +02:00
Hugo Levy-Falk
8df5a05d89 Do not display unnecessary warnings. 2019-09-19 22:55:16 +02:00
Gabriel Detraz
55b2ff076a NEVER user _ for var; conflicts with _( from trad + remove return True 2019-09-17 02:09:19 +02:00
Hugo Levy-Falk
225731b25c helpful acl messages for cotisations. 2019-09-08 15:17:17 +02:00
Hugo LEVY-FALK
31ba9a271f Fix get_subscription of invoice. 2019-01-21 20:52:28 +01:00
Hugo LEVY-FALK
4fef4a6057 Déplace les templates dans préférences. 2019-01-21 00:54:02 +01:00
Hugo LEVY-FALK
f4b6f10d1e attribut name unique 2019-01-21 00:08:53 +01:00
Hugo LEVY-FALK
ddc2c6e380 Suppression des anciens templates lors de la mise à jour 2019-01-20 19:32:29 +01:00
Hugo LEVY-FALK
985a2f4a52 Choix de l'envoi du reçu par mail 2019-01-20 19:08:11 +01:00
Hugo LEVY-FALK
b83bfc0da9 Fix #123 Subscription voucher 2019-01-20 16:44:22 +01:00
Hugo LEVY-FALK
48d8d7921d subscripbtion voucher 2019-01-20 16:41:11 +01:00
Laouen Fernet
2012f20352 add translations for cotisations/ 2019-01-12 16:56:14 +01: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
Hugo LEVY-FALK
70a5996f5d Fix available articles 2018-12-28 23:30:39 +01:00
Maxime Bombar
baa2369436 Non member can't buy connexion : They need to pay membership 2018-11-01 23:40:11 +01:00
Gabriel Detraz
42d718ae8c Fix display facture + room + machine_name 2018-10-15 19:57:56 +02:00
detraz
634527dc95 Fix name of user after invoice comnpay + acl delete invoice 2018-10-14 16:48:11 +02:00
Hugo LEVY-FALK
5431e20629 Hotfix : recupération de l'user lors d'une cotisation en post_save de Vente 2018-10-11 15:13:49 +02:00
Maxime Bombar
5c8e90fde8 [cotisations] Replace Float by Decimal everywhere 2018-10-03 22:01:30 +02:00
Hugo LEVY-FALK
9b080450ab Fix le choix des articles pour les custom invoices 2018-09-01 19:37:34 +02:00
detraz
d609bb6493 Post save custom dans la fonction save, pour __original_valid 2018-09-01 02:16:50 +02:00
Gabriel Detraz
2dd410fedf Fix l'envoie de mail, en postsave maintenant (plus propre) 2018-09-01 01:15:37 +02:00
Gabriel Detraz
0ffdde5a6a Cree une fonction pour set active les utilisateurs cotisant 2018-08-31 13:29:01 +02:00
grisel-davy
fa3aca906f Les nouveau users ne sont pas adhérents et n'ont pas de home 2018-08-31 12:06:32 +02:00