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

9 commits

Author SHA1 Message Date
chapeau
55b0d7bc62 remove tests for cotisation starting at a specified date, as the feature is broken an unused 2024-02-29 14:01:25 +01:00
chapeau
c95e4b7a4b Fix some tests 2024-02-20 16:25:52 +01:00
ec2b4afd41 style: 🎨 Apply black and isort 2021-02-14 09:29:10 +01: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
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
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