Elouan Le Bars
4b75248662
[ADD] b_shift : default task type configuration
5 years ago
Elouan Le Bars
a024a58bff
[ADD] b_shift : attendance shift validation barcode field
5 years ago
Elouan Le Bars
6df6e8e8e9
[IMP] b_shift : attendance sheet display date with ISO format
5 years ago
Elouan Le Bars
d494d24449
[IMP] b_shift : attendance sheet views set no_open options
5 years ago
Elouan Le Bars
1ff335fb02
[FIX] b_shift : attendance sheet replacement worker field name
5 years ago
Elouan Le Bars
9264aaf278
[ADD] b_shift : attendance sheet list items coloration
5 years ago
Elouan Le Bars
128123f65c
[ADD] b_shift : attendance sheet notifications count
5 years ago
Elouan Le Bars
760fdebf97
[ADD] b_shift : attendance sheet validation wizard
5 years ago
Elouan Le Bars
c785f41cc4
[ADD] b_shift : demo datas
5 years ago
Elouan Le Bars
2367e2ce60
[ADD] b_shift : attendance sheet access rules
5 years ago
Elouan Le Bars
e6095f5f1b
[ADD] b_shift : wizard for attendance sheet generation
5 years ago
Elouan Le Bars
38a8d3cd3f
[ADD] b_shift : attendance sheet views
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
0f385cbefb
[CHG] b_shift : cron for shift summary doall=False
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
Elouan Le Bars
b1c535a607
[FIX] beesdoo_shift : Error when saving a temporary exempt
Add beesdoo_shift_temporary_exemption_id_seq.
5 years ago
Elouan Le Bars
cd19bb1081
[FIX] beesdoo_shift : Error when saving a temporary exempt
Add missing sequence in database.
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
Rémy Taymans
2128b99ea5
[FIX] b_shift: Do not show regular info for non regular worker
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
f9f9696640
[FIX] fix first registration shift
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
nicolasjamoulle
ee69368c53
[ADD] Makup code
6 years ago
Rémy Taymans
801235dc3d
[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