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

405 commits

Author SHA1 Message Date
grisel-davy
906f9f0a3b Fix creation of cotisation 2021-01-24 16:36:16 +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
Hugo Levy-Falk
4c692a42e0 Fix availability of non cotisation articles in facture creation. 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
652982941a Fix can_view_app 2021-01-24 16:36:16 +01:00
Laouen Fernet
792e424430 Fix some translations in cotisations/ 2021-01-24 16:36:16 +01:00
Leila
b2607ab232 Add thumbnail to user model 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
2a7d334db7 Avoid failing when permissions depending on another model are None. 2021-01-24 16:35:46 +01:00
e2660d0bee Add missing translations 2021-01-24 16:34:24 +01:00
ec6d73869d Add missing translations 2021-01-24 16:34:24 +01:00
ead2609564 Add missing translations for detailed history 2021-01-24 16:33:32 +01:00
Hugo Levy-Falk
7ddbc02835 Rebase dev 2021-01-24 16:33:32 +01:00
c891e52118 Add missing translations in logs 2021-01-24 16:33:32 +01:00
a1d35a2c9b Add missing translations 2021-01-24 16:33:32 +01:00
chapeau
77b0aff007 Clear api generation 2021-01-24 16:33:31 +01:00
chapeau
0b58365c87 First draft of moving api functions into each apps 2021-01-24 16:33:31 +01:00
69286beabf Fix calls to invoice.save 2021-01-24 16:33:31 +01:00
6900c153d1 Move both send_mail utils to same file 2021-01-24 16:33:31 +01:00
cd097cd428 Also catch ConnectionError when sending mails 2021-01-24 16:33:31 +01:00
fa95625205 Add translation for email error message 2021-01-24 16:33:31 +01:00
cb9ae34418 Make emails throw timeout errors, and gracefully handle them 2021-01-24 16:33:31 +01:00
449e1f8721 Add translations for advanced search email filter 2021-01-24 16:33:31 +01:00
ca3b3af1c2 Fix wrong template used for invoices sent by email 2021-01-24 16:33:31 +01:00
51c81886b5 Add translations for statistics 2021-01-24 16:33:31 +01:00
2ed3b2ac31 Fix translations 2021-01-24 16:33:31 +01:00
8f75078152 Fix cheque cotisations being saved twice 2020-02-15 12:30:37 +00:00
Gabriel Detraz
8118c9edf2 Fix float display 2019-12-27 18:01:16 +01: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
c8ed48145c Add migrations for improved translations 2019-11-24 23:27:57 +01:00
Laouen Fernet
d24dd8225e Edit translations in cotisations 2019-11-24 23:27:56 +01:00
Laouen Fernet
2454de2032 Mark strings for translation in cotisations 2019-11-24 23:27:55 +01:00
Hugo Levy-Falk
09da1b4d43 Fix klafy horrors 2019-11-17 11:58:23 +00: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
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
6171f42b66 Get the right mandate when creating voucher. 2019-10-01 19:30:35 +02:00
Hugo Levy-Falk
6dd4e776c1 Make use of mandates everywhere. 2019-10-01 19:30:34 +02: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
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
9b3bc1d053 ACL for applications. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
225731b25c helpful acl messages for cotisations. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
8f5b302cbf Translation for GTU check. 2019-09-05 22:03:45 +02:00
Hugo Levy-Falk
32aa2780ed Context is deprecated for rendering in Django1.11 2019-09-04 22:01:02 +02:00
chirac
a51c5f4b57 Fix Article (s) 2019-07-14 19:55:53 +02:00