Rémy Taymans
80270603a3
[FIX] b_shift: Properly resigning worker
This fix the case where a worker is unsubscribed from a shift where he
is supercooperator.
In the function unsubscribed_from_today, when removing the supercoop,
the field is_regular was also set to False. I seams that this is not
correct as this field is related to the worker_id not to the supercoop.
Also, I found other issues as when removing a worker_id the fields
is_regular and is_compensation was not reset.
This let me think about other cases where worker_id is emptied, the
is_regular and is_compensation would be never been reset if the
programmer doesn't think to reset it.
So I modified the constrains on these field in order to have these field
reset properly when worker_id is changed.
6 years ago
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
Rémy Taymans
8d5fd2456f
[FIX] b_shift: Do not show regular info for non regular worker
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
3b1391e714
[FIX] fix first registration shift
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
nicolasjamoulle
1f32514609
[ADD] Makup code
6 years ago
Rémy Taymans
94eab1a747
[FIX] b_shift: PR #62 and #63
This fixes PR #62 and #63 . It uses the `no_create` and `no_open` options
for `many2many` widget.
6 years ago
nicolasjamoulle
0c011608db
[IMP] _get_info_session_followed made shorter
6 years ago
nicolasjamoulle
4cc1836803
Dots alignment
6 years ago
nicolasjamoulle
89fa9e5c89
[FIX] syntax error break line
6 years ago
nicolasjamoulle
a883beaffe
[ADD] Default information from worker
6 years ago
nicolasjamoulle
a8247fbf69
[ADD] Cannot create worker from field worker_id
6 years ago
Rémy Taymans
0f8026125d
[FIX] b_shift: Condition to unsubscribe a worker
Quick fix from @tfrancoi .
6 years ago
nicolasjamoulle
fce95d3b19
[ADD] Date of information session not fill by default
6 years ago
nicolasjamoulle
aba7246b53
Followed info session not checked by default
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
51077450ff
[FIX] Double header on partner form
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
Thibault Francois
0eb6c3c28a
Update temporary_exemption.xml
[Fix] Copy paste of xml ID that shadows the view for holiday wizard
7 years ago
Thibault Francois
0c005eae56
[ADD] 0071 - Ajout filtre J-5 dans Shift Management
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
58fe243857
[CHANGE] beesdoo_shift: allow to launch auto extension as group_shift_attendance AKA accueil groupe
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
tfrancoi
c246e11992
[FIX] Remove wrong access right line
7 years ago
Thibault Francois
2aadff1bde
[ADD] Implement status management for irregular worker
7 years ago