Elouan Le Bars
82634f780b
[FIX] b_shift : code cleaning
5 years ago
Elouan Le Bars
2f71ef99c3
[FIX] b_shift : constrain_unique_worker on attendance sheets
5 years ago
Elouan Le Bars
87b38ef134
[IMP] b_shift : attendance sheets code cleaning
5 years ago
Elouan Le Bars
82b68f1caa
[IMP] b_shift : change and add access rules
5 years ago
Elouan Le Bars
4d01211029
[FIX] b_shift : comment attendance sheet unique worker constraint
5 years ago
Elouan Le Bars
c071116c60
[IMP] b_shift : attendance sheets linting and menu sequences
5 years ago
Elouan Le Bars
ea0bb5d047
[FIX] b_shift : attendance sheet shifts worker not required
5 years ago
Elouan Le Bars
4d46e07394
[REM] b_shift : attendance sheet cancelled status
5 years ago
Elouan Le Bars
6b4f4b1495
[ADD] b_shift : attendance sheets barcode scanner support
5 years ago
Elouan Le Bars
a45683d9ec
[ADD] b_shift : attendance sheet archived attribute
5 years ago
Elouan Le Bars
68956c4d6e
[ADD] b_shift : attendance sheet "mark as read" smart button
5 years ago
Elouan Le Bars
d762b09a34
[IMP] b_shift : constraint on validated attendance sheets
5 years ago
Elouan Le Bars
aec6d12a02
[ADD] b_shift : default task type configuration
5 years ago
Elouan Le Bars
6fc398ed67
[ADD] b_shift : attendance shift validation barcode field
5 years ago
Elouan Le Bars
df456cb7dd
[IMP] b_shift : attendance sheet display date with ISO format
5 years ago
Elouan Le Bars
bd9379919e
[IMP] b_shift : attendance sheet views set no_open options
5 years ago
Elouan Le Bars
231142eb7b
[FIX] b_shift : attendance sheet replacement worker field name
5 years ago
Elouan Le Bars
91ef2bf57a
[ADD] b_shift : attendance sheet list items coloration
5 years ago
Elouan Le Bars
e8f27cdf5d
[ADD] b_shift : attendance sheet notifications count
5 years ago
Elouan Le Bars
1ea6ced1e8
[ADD] b_shift : attendance sheet validation wizard
5 years ago
Elouan Le Bars
4774617094
[ADD] b_shift : demo datas
5 years ago
Elouan Le Bars
bea4258143
[ADD] b_shift : attendance sheet access rules
5 years ago
Elouan Le Bars
252df20be3
[ADD] b_shift : wizard for attendance sheet generation
5 years ago
Elouan Le Bars
0a75e54d49
[ADD] b_shift : attendance sheet views
5 years ago
Elouan Le Bars
edb3f9841c
[ADD] b_shift : attendance_sheet_id to TaskTemplate
5 years ago
Elouan Le Bars
27397cbe4c
[ADD] b_shift : attendance sheet models
5 years ago
Elouan Le Bars
3fa6235c71
[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
03e6a23936
[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
7a55f07bd6
[FIX] b_shift : replacement workers must be regular and not unsuscribed
5 years ago
Elouan Le Bars
8b452d5eac
[ADD] b_shift : constraint on worker, cannot replace himself
5 years ago
Elouan Le Bars
625fd77dbd
[IMP] b_shift : shift start_time, end_time required
5 years ago
Elouan Le Bars
0d2f032f2a
[FIX] b_shift : warning messages
5 years ago
Elouan Le Bars
41ff7de51e
Revert "[FIX] b_shift : automatic unsubscribe from next shifts"
This reverts commit 796753a5ed
.
5 years ago
Elouan Le Bars
9cf0861c69
[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
47b1eff4ab
[ADD] b_shift : weekly summary email
5 years ago
Elouan Le Bars
2581f31838
[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
Elouan Le Bars
1292201c27
[FIX] beesdoo_shift : Error when saving a temporary exempt
Add beesdoo_shift_temporary_exemption_id_seq.
5 years ago
Elouan Le Bars
d55d3fcd76
[FIX] beesdoo_shift : Error when saving a temporary exempt
Add missing sequence in database.
5 years ago
Rémy Taymans
6f801e6d47
[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
c4967ddf5d
[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
da6499648c
[FIX] b_shift: Next Countdown compute
This fixes the computation of the next countdown date.
6 years ago
Rémy Taymans
efec421508
[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
70bcadf5a1
[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
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