8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 08:23:12 +00:00
Commit graph

442 commits

Author SHA1 Message Date
chapeau
92dc1a2699 Fix a 500 error on /api/cotisations/cotisation/ api route 2024-02-19 15:57:59 +01:00
0901b9b439 feat: Replace LaTeX invoice templates with HTML templates 2021-08-09 09:04:39 +00:00
Hugo Levy-Falk
d26d912328 fix: Remove old migrations that prevent a fresh install without LDAP.
Fix #329.

BREAKING CHANGE: you need to define the proper router in re2o/settings_locals.py for LDAP to continue working properly. See re2o/settings_locals.example.py.
2021-02-14 10:24:09 +01:00
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
db929676e2 fix: 🐛 Fix voucher_pdf function (#315)
Replace date_end by date_end_memb in voucher_pdf. Close #315
2021-01-24 16:37:10 +01:00
ce6f46b2da feat(trans): Translate remaining fuzzy translations 2021-01-24 16:37:10 +01:00
69228f0ae4 chore(trans): Regenerate all django.po file 2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
1a9d3d0824 fix: Permission DoesNotExist when accessing BaseInvoice history
See the issue for details.

Closes #317 .
2021-01-24 16:37:10 +01:00
fdb0b0b10f fix: Use bootstrap class for fa-check and fa-times color instead of hardcoded value 2021-01-24 16:37:10 +01:00
17aa0afd09 fix: Subtable alternating color in subscription list 2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
7b941eee12 Fix: Forgotten legacy ldap_sync calls in machines and cotisations. 2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
4a3d0f346b feat: Integrate the removal of LDAP to migration squash. 2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
5107a4987f Foreign keys 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
937f2cf16c Fix miscellanous model creation mistakes. 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
392ea8afbc Fix dependecies graph creation. 2021-01-24 16:37:09 +01:00
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