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

435 commits

Author SHA1 Message Date
c485f3a8fb chore(trans): Regenerate all django.po file 2021-01-24 12:02:44 +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
3d748e9e42 fix: Use bootstrap class for fa-check and fa-times color instead of hardcoded value 2021-01-15 19:51:11 +01:00
7afa15bff1 fix: Subtable alternating color in subscription list 2021-01-15 19:46:35 +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
af70a7893b feat: Integrate the removal of LDAP to migration squash. 2021-01-11 21:53:49 +01:00
Hugo Levy-Falk
cf9f9d811f Foreign keys 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
33497893d8 Fix miscellanous model creation mistakes. 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
7792be978d Fix dependecies graph creation. 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
18db73f2bc fix dependencies names 2021-01-10 16:22:12 +01:00
Hugo Levy-Falk
d03ae4f52d Cotisations models definition. 2021-01-10 16:22:12 +01:00
64b6e58182 fix: 🐛 Fix send_mail_voucher function 2021-01-09 02:40:33 +01:00
chirac
a0612728ee Move new autocomplete widgets on widget file 2021-01-02 23:21:15 +01:00
chirac
7ed7a57014 Black on files 2020-12-31 20:12:36 +01:00
chirac
5011694479 Add can_list acl, move views autocomplete mixins to re2o/views.py 2020-12-30 19:06:09 +01:00
chirac
f4dbec01c8 Add autocomplete on cotisations 2020-12-30 18:55:28 +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
30ff646de7
Links and translations 2020-11-17 22:13:20 +01:00
087ef6feb6
Translations 2020-11-17 21:50:16 +01:00
fd006c505a
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
2020-11-15 20:41:23 +01:00
Gabriel Detraz
dfb688f995 Fix : default value should be 0 2020-11-02 23:43:54 +01:00
Gabriel Detraz
01af6ea927 Fix error on migration 48 and split for pg_triggers reason 2020-11-02 23:07:13 +01:00
grisel-davy
4f5bdc1d0b Add listings of articles to aff of all cotisations 2020-10-23 11:41:02 +02:00
grisel-davy
0bcb6cc680 Remove redundant code, reuse aff_ templates 2020-10-23 00:15:34 +02:00
grisel-davy
c931ec9fa0 Add number of article in the display of cotisation 2020-10-18 17:36:10 +02:00
grisel-davy
ccce9d2de9 Move facture list to cotisation, add paginator 2020-10-18 15:22:48 +02:00
grisel-davy
9005dc78b9 Fix test of subscription or connection to display message 2020-10-17 13:52:40 +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
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