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

426 commits

Author SHA1 Message Date
Hugo Levy-Falk
77f5b66329 fix dependencies names 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
6aa072f6d1 Cotisations models definition. 2021-01-24 16:37:09 +01:00
6558cfc1eb fix: 🐛 Fix send_mail_voucher function 2021-01-24 16:37:09 +01:00
chirac
e3445b6a60 Move new autocomplete widgets on widget file 2021-01-24 16:37:09 +01:00
chirac
4c984a3975 Black on files 2021-01-24 16:37:09 +01:00
chirac
4df53ca902 Add can_list acl, move views autocomplete mixins to re2o/views.py 2021-01-24 16:37:09 +01:00
chirac
5f46ce1db5 Add autocomplete on cotisations 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
27343b8323 Code formatting. 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
3014b9ac2e Remove useless MinValueValidator(0) on PositiveIntegerField. 2021-01-24 16:37:09 +01:00
69f78d8c60 Ça se dit Rézo Metz 'tain 2021-01-24 16:37:09 +01:00
432e531e67 Links and translations 2021-01-24 16:37:09 +01:00
0202a77799 Translations 2021-01-24 16:37:09 +01:00
6d2ad5b00e Refactor navbar and general frontend.
The menus of the navbar is reorganized
The footer is changed into a navbar
The right sidebar is placed to the left
The left sidebar is deleted
Header navbar and leftsidebar are now fixed
Physical grouing is split into 4 views
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
ef890bc3ba Add listings of articles to aff of all cotisations 2021-01-24 16:37:09 +01:00
grisel-davy
52a23be738 Remove redundant code, reuse aff_ templates 2021-01-24 16:37:09 +01:00
grisel-davy
bf749fb638 Add number of article in the display of cotisation 2021-01-24 16:37:09 +01:00
grisel-davy
af3da1eafb Move facture list to cotisation, add paginator 2021-01-24 16:37:09 +01:00
grisel-davy
0aa63b8d8e Fix test of subscription or connection to display message 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
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