Elouan Le Bars
ed0010b97a
[IMP] b_shift : attendance sheet validation exceptions raised
5 years ago
Elouan Le Bars
347120b84d
[FIX] b_shift : code cleaning
5 years ago
Elouan Le Bars
036d0c1321
[FIX] b_shift : constrain_unique_worker on attendance sheets
5 years ago
Elouan Le Bars
7bf6bba096
[IMP] b_shift : attendance sheets code cleaning
5 years ago
Elouan Le Bars
ce07bdf42f
[FIX] b_shift : comment attendance sheet unique worker constraint
5 years ago
Elouan Le Bars
2582ee630b
[IMP] b_shift : attendance sheets linting and menu sequences
5 years ago
Elouan Le Bars
16572cede3
[FIX] b_shift : attendance sheet shifts worker not required
5 years ago
Elouan Le Bars
a48b6f5022
[REM] b_shift : attendance sheet cancelled status
5 years ago
Elouan Le Bars
f989b9bd8f
[ADD] b_shift : attendance sheets barcode scanner support
5 years ago
Elouan Le Bars
a8b61df335
[ADD] b_shift : attendance sheet archived attribute
5 years ago
Elouan Le Bars
639a638b44
[ADD] b_shift : attendance sheet "mark as read" smart button
5 years ago
Elouan Le Bars
fb77ad746b
[IMP] b_shift : constraint on validated attendance sheets
5 years ago
Elouan Le Bars
4b75248662
[ADD] b_shift : default task type configuration
5 years ago
Elouan Le Bars
6df6e8e8e9
[IMP] b_shift : attendance sheet display date with ISO format
5 years ago
Elouan Le Bars
1ff335fb02
[FIX] b_shift : attendance sheet replacement worker field name
5 years ago
Elouan Le Bars
128123f65c
[ADD] b_shift : attendance sheet notifications count
5 years ago
Elouan Le Bars
e6095f5f1b
[ADD] b_shift : wizard for attendance sheet generation
5 years ago
Elouan Le Bars
ee7fd8ca9c
[ADD] b_shift : attendance_sheet_id to TaskTemplate
5 years ago
Elouan Le Bars
8ff26dd7d6
[ADD] b_shift : attendance sheet models
5 years ago
Elouan Le Bars
d92ca20629
[FIX] b_shift : automatic unsubscribe from next shifts
Doesn't unsubscribe from present shift anymore
when worker is changing to "unsubscribed" status.
You cannot change future shifts status anymore.
5 years ago
Elouan Le Bars
db2dd6b988
[CHG] b_shift : shift status
To give better understanding of compensations given by each status.
'stage_id' is replaced by a selection field state to ease
domain restrictions.
5 years ago
Elouan Le Bars
bd8e16e2ed
[FIX] b_shift : replacement workers must be regular and not unsuscribed
5 years ago
Elouan Le Bars
69915b0c16
[ADD] b_shift : constraint on worker, cannot replace himself
5 years ago
Elouan Le Bars
9777aaa2f8
[IMP] b_shift : shift start_time, end_time required
5 years ago
Elouan Le Bars
65eafef3e1
[FIX] b_shift : warning messages
5 years ago
Elouan Le Bars
cc4cca247d
[FIX] b_shift : future_alert_date
Fixup for [FIX] b_shift : next_countdown computation
5 years ago
Elouan Le Bars
b1484ccab9
Revert "[FIX] b_shift : automatic unsubscribe from next shifts"
This reverts commit 796753a5ed
.
5 years ago
Elouan Le Bars
796753a5ed
[FIX] b_shift : automatic unsubscribe from next shifts
Doesn't unsubscribe from present shift anymore
when worker is changing to "unsubscribed" status.
You cannot change future shifts status anymore.
5 years ago
Elouan Le Bars
e583365691
[ADD] b_shift : weekly summary email
5 years ago
Elouan Le Bars
c726b28574
[FIX] b_shift : next_countdown computation
When the next_countdown is the same day than the current one,
it should be the one displayed (and not the one 28 days later).
5 years ago
Rémy Taymans
6c33c1c9f2
[ADD] b_shift: Set configurable limit to unsubscribe regular worker
This adds a configurable limit under which the regular worker is
unsubscribed. The regular worker is unsubscribed when the sum of his
shift counter and his compensation shift counter reach the configured
limit.
6 years ago
Augustin Borsu
4873770a75
[ADD] beesdoo_shift: warn when assigning a second shift
Warn when adding a shift to a worker who is already subscribed to one.
6 years ago
Rémy Taymans
355fd61e85
[FIX] b_shift: Next Countdown compute
This fixes the computation of the next countdown date.
6 years ago
Rémy Taymans
420f10f568
[IMP] b_shift: Future alert date and Next Countdown date
This improves the calculation of the future alert date in other to take
holidays and temporary exemption into account.
This also adds the date of the next countdown that also take holidays
and temporary exemption into account.
6 years ago
Rémy Taymans
464afd605d
[CHG] b_shift: Remove alert_start_time when not in alert status
Before this commit, the alert_start_time was not erased when a status
change from 'alert' to 'ok' for an irregular worker.
People find that unintuitive (despite this date was in the past when
you are in 'ok' status).
Now, this alert_start_time was erased when the status change from
'alert' to 'ok'.
6 years ago
Rémy Taymans
cf8fac7f37
[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
2dc776735e
[FIX] b_shift: Unsubscribe resigning worker
6 years ago
Rémy Taymans
d2ca6c789d
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
351a107a65
[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
b3c9da2a87
[FIX] b_shift: Raise error when shift not configured well
6 years ago
nicolasjamoulle
ab4e0fbf22
[ADD] beesdoo_shift: add compensation shift option in task
6 years ago
nicolasjamoulle
cb55533d74
[FIX] beesdoo_shift remove only next shifts in planning for unsubscribed workers"
6 years ago
nicolasjamoulle
d0df069801
Makeup on code after review
6 years ago
nicolasjamoulle
276a50d883
[REF] date_domain and to_unsubscribe_super_coop
6 years ago
nicolasjamoulle
120de0499f
[ADD] Remove super cooperative from future planning
6 years ago
nicolasjamoulle
95c16bc6d4
[WIP] Tests in comment
6 years ago
nicolasjamoulle
d572586530
[ADD] remove super_coop_id
6 years ago
nicolasjamoulle
6640ab1425
[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
f1754ee2cd
[FIX] b_shift: Condition to unsubscribe a worker
Quick fix from @tfrancoi .
6 years ago
Thibault Francois
f7084b3873
[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