Rémy Taymans
07566d25b3
[MOV] b_shift: res.partner definition in separated file
5 years ago
Rémy Taymans
cfe1b117b0
[FIX] b_worker_status
Fix bug reported in 9.0 on the computation of nextcoundown.
Fix missing add_days_delta function.
Fix missing today var.
5 years ago
odoo-pda
d4f8d2c32a
[FIX] make beesdoo_shift installable
on an empty db.
5 years ago
Thibault Francois
d97b676023
[REF] Refactoring of shift module
Move counter specific and cooperator status specific to a module call beesdoo_worker_status
Remove dependency of beesdoo_base to beesdoo_shift
beesdoo_worker_status depends on beesdoo_base
Move all attendance sheet related code to a new module attendance sheet
Leave empty interface on beesdoo_shift to be implemented in other module to define
specific behavior of the counter and the status of the cooperator
5 years ago
Elouan Le Bars
2e5b564125
[REF] beesdoo_shift : add comment
5 years ago
Elouan Le Bars
4a437f7b47
[REF] b_shift : code cleaning
5 years ago
Elouan Le Bars
b013e1524b
[MIG] b_shift : change settings to fit 12.0 requirements
5 years ago
Elouan Le Bars
15cdf5ce4b
[ADD] b_shift : checks for holidays and exemption
5 years ago
Elouan Le Bars
bf9f0eb8a8
[CHG] b_shift : info_session to date instead of datetime
5 years ago
Elouan Le Bars
47ff591c1f
[FIX] b_shift : fix datetime issues coming from migration to 12.0
5 years ago
Elouan Le Bars
2b6800bd25
[MIG] b_shift : migration to 11.0
5 years ago
Elouan Le Bars
3d894c3559
[MIG] b_shift: migration to 10.0
5 years ago
Elouan Le Bars
6d6826260d
[FIX] b_shift : email for non-attended shifts
5 years ago
Elouan Le Bars
e03dc65532
[ADD] b_shift : traductions
5 years ago
Elouan Le Bars
bb275f89a7
[ADD] b_shift : constraint on irregular_start_date
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
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
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
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
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
8ff734bd35
[FIX] b_shift: Unsubscribe resigning worker
6 years ago
nicolasjamoulle
cbb0d04596
[FIX] beesdoo_shift remove only next shifts in planning for unsubscribed workers"
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
Rémy Taymans
0f8026125d
[FIX] b_shift: Condition to unsubscribe a worker
Quick fix from @tfrancoi .
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
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
6 years ago
Thibault Francois
00a2aa55ab
[IMP][TASK 0048i] Statut a jour mais pas de créneau - cannot shop?
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
Rémy Taymans
604b74a2dc
[ADD] beesdoo_shift: Future alert date
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
a97f331abe
[FIX] fix 'typo' self instead of rec
7 years ago
Thibault Francois
2aadff1bde
[ADD] Implement status management for irregular worker
7 years ago
Thibault Francois
48da2be7fb
FIX stage status sequence
FIX default value for today on status
FIX default value for stage_id that allow to manually create shift
ADD un subscribed from shift during holidays
ADD Cannot subscribe to new holidays when you've already planned some holidays and they are not over yet
7 years ago
Thibault Francois
d913a26c2c
[IMP] Can make mistake in status change, the counter change get revert and only the change needed by the new stage get applied
7 years ago
Thibault Francois
98d84f4bbd
[ADD] Holiday wizard
7 years ago
Thibault Francois
a4d1805b12
[IMP] Holiday end with and end day rater then a nb of days after the start
7 years ago
Thibault Francois
957965bab3
[ADD] extension wizard + [CLEAN] Abstract class for all wizard related to action on the cooperative status
7 years ago
Thibault Francois
c5429e9378
[IMP] improve order of cooperative status
7 years ago
Thibault Francois
20b7b29982
[ADD] Add unsubscribe wizard
7 years ago
Thibault Francois
cc4dd3d79e
[ADD] Mechanism to change counter according to presence to shift or not + Option to not launch status mechanism
7 years ago
Thibault Francois
efb5ac2d56
[ADD] Compute state of cooperative based on their shift presence
7 years ago
Thibault Francois
211e24a5c5
[WIP]
7 years ago
Thibault Francois
49837c9d84
[TASK 0044_b] Gestion des shifts : visualiser le créneau sur la fiche du membre régulier + [ADD] Tab worker information for all information linked with the work in the cooperative + [ADD] share type for beescoop + [ADD] Specific module that make the link between beesdoo and easy_my_coop : compute the share_type base on the share bought
8 years ago