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

406 commits

Author SHA1 Message Date
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
2690a021d0 Fix can_view_app 2020-08-29 11:07:18 +02:00
Laouen Fernet
99a3f7e9c5 Fix some translations in cotisations/ 2020-06-01 18:21:21 +02:00
Leila
d94f7b44a3 Add thumbnail to user model 2020-05-17 12:51:05 +02:00
Hugo Levy-Falk
c4e8441718 Avoid failing when permissions depending on another model are None. 2020-04-30 22:32:17 +02:00
e537143efc Add missing translations 2020-04-25 01:43:25 +02:00
6371f11536 Add missing translations 2020-04-23 19:28:15 +00:00
4731e7da02 Add missing translations for detailed history 2020-04-23 18:13:37 +00:00
Hugo Levy-Falk
6d3c86f99c Rebase dev 2020-04-23 17:01:07 +02:00
91cee11297 Add missing translations in logs 2020-04-22 23:25:19 +02:00
5107a34a6e Add missing translations 2020-04-21 19:48:59 +00:00
chapeau
035f447fdd Clear api generation 2020-04-21 16:00:08 +02:00
chapeau
bdfd15b853 First draft of moving api functions into each apps 2020-04-21 16:00:08 +02:00
528bfcdef3 Fix calls to invoice.save 2020-04-19 19:19:06 +00:00
d0777187f7 Move both send_mail utils to same file 2020-04-19 21:15:07 +02:00
c0ae68490c Also catch ConnectionError when sending mails 2020-04-19 21:13:31 +02:00
1b64c8f95b Add translation for email error message 2020-04-19 18:21:38 +00:00
7cb869809e Make emails throw timeout errors, and gracefully handle them 2020-04-19 20:06:34 +02:00
739197d99f Add translations for advanced search email filter 2020-04-19 15:15:40 +00:00
e1d6835f25 Fix wrong template used for invoices sent by email 2020-04-18 20:09:32 +00:00
f3d8b70213 Add translations for statistics 2020-04-17 23:40:01 +00:00
227511504e Fix translations 2020-04-17 22:52:30 +00:00
fb97849609 Fix cheque cotisations being saved twice 2020-02-15 15:09:48 +01: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