Rémy Taymans
8ff734bd35
[FIX] b_shift: Unsubscribe resigning worker
6 years ago
Rémy Taymans
011370aec8
Revert "[FIX] b_shift: Too late shift validation"
This reverts commit 351a107a65
.
This commit try to fix with a naive approach that doesn't work in every
case.
A better fix must be done in the future.
6 years ago
Rémy Taymans
06b646083b
[FIX] b_shift: Too late shift validation
This commit brings fix a bug that occur when a worker do a shift before
her future_alert_date and the shift was marked as attended after the
future_alert_date. In such a case, the worker fell in alert state and
get a -2. This don't fix the fact that the worker fall in alert. But
brings correction when the shift is finally marked as attended.
6 years ago
Rémy Taymans
a955f2ddc8
[FIX] b_shift: Raise error when shift not configured well
6 years ago
nicolasjamoulle
4452e31005
[ADD] beesdoo_shift: add compensation shift option in task
6 years ago
nicolasjamoulle
cbb0d04596
[FIX] beesdoo_shift remove only next shifts in planning for unsubscribed workers"
6 years ago
nicolasjamoulle
bd2c18939d
Makeup on code after review
6 years ago
nicolasjamoulle
a49250c855
[REF] date_domain and to_unsubscribe_super_coop
6 years ago
nicolasjamoulle
d7a70778d4
[ADD] Remove super cooperative from future planning
6 years ago
nicolasjamoulle
bae9393c54
[WIP] Tests in comment
6 years ago
nicolasjamoulle
af479163dd
[ADD] remove super_coop_id
6 years ago
nicolasjamoulle
54003dfbcc
[FIX] Remove shifts for resigning status
And does not allow to add unsubscribed and resigning statut to a new shift
6 years ago
Rémy Taymans
0f8026125d
[FIX] b_shift: Condition to unsubscribe a worker
Quick fix from @tfrancoi .
6 years ago
Thibault Francois
5be9ee380c
[CHANGE] -1 instead of -2 when not attempting a shift, -2 only when alert time is not set, remove alert time only once you reach +1
6 years ago
Thibault Francois
474e8b815e
[CHANGE] Change the computation for unsubscribed status of irregular worker
They become unsubscribe when the regular counter fall under a value that can be define in parameter
[FIX] don't show unsubscribed or resigning worker in the list of worker you can assign on a shift
6 years ago
Thibault Francois
ae8c715e26
[CLEAN] separate timezone logic in another methoda
6 years ago
Rémy Taymans
4d668d54a3
[FIX] b_shift: timezone error in shift generation
The bug was that some shift are 'misstimezoned' near DST moment and for
timezone far from the UTC time. Now the date and time of a shift is
calculated in the local timezone then converted into UTC time to be
stored in database.
6 years ago
Thibault Francois
7f5166aad8
[TASK 48l] take irregular worker holidays into account: Don't change counterduring cron when they are on holidays
6 years ago
Thibault Francois
c32e324ade
[ADD][TASK 0048j]
Cooperative status des personnes archivées à archiver aussi
7 years ago
Thibault Francois
9067913f31
[FIX][TASK 0048k] Revert info à supprimer quand worker id change
7 years ago
Thibault Francois
00a2aa55ab
[IMP][TASK 0048i] Statut a jour mais pas de créneau - cannot shop?
7 years ago
Thibault Francois
9488fd0420
[FIX] Bad hour for shift generated the day of timeshift, use the hour of the shift instead of 00:00:00 to call context_timestamp
6 years ago
Thibault Francois
5a178a685f
[FIX] Irregular worker in holiday cannot shop
7 years ago
Thibault Francois
a089d48e6b
[FIX] Regular worker in holiday cannot shop
7 years ago
Thibault Francois
0a871324bc
[ADD] Filter from today to J+ 4
[FIX] Silent error when reverting counter info while status change of task when missing some access right
[IMP] Performance improvement in shift generation: Skip message generation
7 years ago
Rémy Taymans
604b74a2dc
[ADD] beesdoo_shift: Future alert date
7 years ago
Thibault Francois
e8efd861fe
[IMP] 0044_j - cacher la case is-regular si c'est un volant qui est inscrit au shift
7 years ago
Thibault Francois
d3156e89e4
[FIX] 0044_k - empêcher d'inscrire à un shift ou créneau si pas de régime définir: add a domain based on working mode
7 years ago
Thibault Francois
e446f21696
[ADD] 0048g- Statut démissionnaire: possible when unscribed to check the box resigning, the cooperator will be in a specific status resigning
7 years ago
Thibault Francois
3c231006b0
[ADD] beesdoo_shift: S0048 temporary exemption
7 years ago
Thibault Francois
5dd5b88a84
[ADD] Don't assign the worker if he is in holiday
7 years ago
Thibault Francois
a97f331abe
[FIX] fix 'typo' self instead of rec
7 years ago
Thibault Francois
2aadff1bde
[ADD] Implement status management for irregular worker
7 years ago
Thibault Francois
48da2be7fb
FIX stage status sequence
FIX default value for today on status
FIX default value for stage_id that allow to manually create shift
ADD un subscribed from shift during holidays
ADD Cannot subscribe to new holidays when you've already planned some holidays and they are not over yet
7 years ago
Thibault Francois
321f424c0b
[FIX] make 100% sure that revert info are erased after beeing applied
7 years ago
Thibault Francois
d913a26c2c
[IMP] Can make mistake in status change, the counter change get revert and only the change needed by the new stage get applied
7 years ago
Thibault Francois
87341433aa
[ADD] cron to generate next planning + [CHANGE] shift generated are already confirmed
7 years ago
Houssine BAKKALI
9585639efc
Update task.py
7 years ago
Thibault Francois
98d84f4bbd
[ADD] Holiday wizard
8 years ago
Thibault Francois
a4d1805b12
[IMP] Holiday end with and end day rater then a nb of days after the start
8 years ago
Thibault Francois
957965bab3
[ADD] extension wizard + [CLEAN] Abstract class for all wizard related to action on the cooperative status
8 years ago
Thibault Francois
c5429e9378
[IMP] improve order of cooperative status
8 years ago
Thibault Francois
20b7b29982
[ADD] Add unsubscribe wizard
8 years ago
Thibault Francois
cc4dd3d79e
[ADD] Mechanism to change counter according to presence to shift or not + Option to not launch status mechanism
8 years ago
Thibault Francois
efb5ac2d56
[ADD] Compute state of cooperative based on their shift presence
8 years ago
Thibault Francois
211e24a5c5
[WIP]
8 years ago
Thibault Francois
49837c9d84
[TASK 0044_b] Gestion des shifts : visualiser le créneau sur la fiche du membre régulier + [ADD] Tab worker information for all information linked with the work in the cooperative + [ADD] share type for beescoop + [ADD] Specific module that make the link between beesdoo and easy_my_coop : compute the share_type base on the share bought
8 years ago
Thibault Francois
6d09e5f6be
[FIX] Can see user as super cooperator
8 years ago
Thibault Francois
ee10adfe23
[S0047] Faire le suivi des inscriptions aux séances info/inscriptions shifts
8 years ago
Rémy Taymans
5fc4fbff24
[ADD][TASK s0048a] working mode
[CHANGE][TASK s0048] occasional -> irregular
8 years ago