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
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