8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 17:36:27 +00:00
re2o/users
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
..
api Add thumbnail to user model 2020-05-17 12:51:05 +02:00
locale/fr/LC_MESSAGES Add thumbnail to user model 2020-05-17 12:51:05 +02:00
management/commands Reset clean_notyetactive command to its correct state 2020-04-17 19:20:27 +02:00
migrations Add migration file 2020-05-18 16:49:17 +02:00
templates/users Add thumbnail to user model 2020-05-17 12:51:05 +02:00
__init__.py Hello Lara :D 2019-10-01 13:37:56 +02:00
acl.py Fix can_view_app 2020-08-29 11:07:18 +02:00
admin.py Final translation of users app 2020-06-01 18:21:22 +02:00
forms.py Supprime l'avatar à la création (inutile/buggé) 2020-10-08 21:15:30 +02:00
models.py Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
test_models.py I like my black. 2019-11-04 22:47:24 +01:00
tests.py I like my black. 2019-11-04 22:47:24 +01:00
urls.py Final translation of users app 2020-06-01 18:21:22 +02:00
views.py Translation of user app views + remove trailing spaces 2020-06-01 18:21:22 +02:00
widgets.py I like my black. 2019-11-04 22:47:24 +01:00