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
Thibault Francois
242fcd7c29
[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
c00483309c
[CLEAN] separate timezone logic in another methoda
6 years ago
Rémy Taymans
e0f0d68233
[FIX] b_shift: timezone error in shift generation
The bug was that some shift are 'misstimezoned' near DST moment and for
timezone far from the UTC time. Now the date and time of a shift is
calculated in the local timezone then converted into UTC time to be
stored in database.
6 years ago
Thibault Francois
fc15fd2e58
[TASK 48l] take irregular worker holidays into account: Don't change counterduring cron when they are on holidays
6 years ago
Thibault Francois
20e06efcc7
[ADD][TASK 0048j]
Cooperative status des personnes archivées à archiver aussi
7 years ago
Thibault Francois
c0028af4b6
[FIX][TASK 0048k] Revert info à supprimer quand worker id change
7 years ago
Thibault Francois
58ea43d80a
[IMP][TASK 0048i] Statut a jour mais pas de créneau - cannot shop?
7 years ago
Thibault Francois
2c7323546f
[FIX] Bad hour for shift generated the day of timeshift, use the hour of the shift instead of 00:00:00 to call context_timestamp
6 years ago
Thibault Francois
6ada86b6b8
[FIX] Irregular worker in holiday cannot shop
7 years ago
Thibault Francois
65ca454afc
[FIX] Regular worker in holiday cannot shop
7 years ago
Thibault Francois
6c3110e78d
[ADD] Filter from today to J+ 4
[FIX] Silent error when reverting counter info while status change of task when missing some access right
[IMP] Performance improvement in shift generation: Skip message generation
7 years ago
Rémy Taymans
71f273c3a9
[ADD] beesdoo_shift: Future alert date
7 years ago
Thibault Francois
7d3667c30f
[IMP] 0044_j - cacher la case is-regular si c'est un volant qui est inscrit au shift
7 years ago
Thibault Francois
3c29a5321b
[FIX] 0044_k - empêcher d'inscrire à un shift ou créneau si pas de régime définir: add a domain based on working mode
7 years ago
Thibault Francois
6a5d6e533c
[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
9f269c4849
[ADD] beesdoo_shift: S0048 temporary exemption
7 years ago
Thibault Francois
5460dde5d0
[ADD] Don't assign the worker if he is in holiday
7 years ago
Thibault Francois
d6b3f20efe
[FIX] fix 'typo' self instead of rec
7 years ago
Thibault Francois
c53ab5e9e9
[ADD] Implement status management for irregular worker
7 years ago
Thibault Francois
9e50d08106
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
c61a946906
[FIX] make 100% sure that revert info are erased after beeing applied
7 years ago
Thibault Francois
59615135d2
[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
789dc5018f
[ADD] cron to generate next planning + [CHANGE] shift generated are already confirmed
7 years ago
Houssine BAKKALI
992d33b35c
Update task.py
7 years ago
Thibault Francois
f0b7969325
[ADD] Holiday wizard
7 years ago
Thibault Francois
93a6af1310
[IMP] Holiday end with and end day rater then a nb of days after the start
7 years ago
Thibault Francois
97bb78bf29
[ADD] extension wizard + [CLEAN] Abstract class for all wizard related to action on the cooperative status
8 years ago
Thibault Francois
0d7d8a09ab
[IMP] improve order of cooperative status
8 years ago
Thibault Francois
597606ec32
[ADD] Add unsubscribe wizard
8 years ago
Thibault Francois
c4d2026cbc
[ADD] Mechanism to change counter according to presence to shift or not + Option to not launch status mechanism
8 years ago
Thibault Francois
3a90821c8f
[ADD] Compute state of cooperative based on their shift presence
8 years ago
Thibault Francois
a2b7c8bf60
[WIP]
8 years ago
Thibault Francois
b8cd7c008a
[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
Thibault Francois
f8946332d7
[FIX] Can see user as super cooperator
8 years ago
Thibault Francois
db2f8986cd
[S0047] Faire le suivi des inscriptions aux séances info/inscriptions shifts
8 years ago
Rémy Taymans
726bd15be0
[ADD][TASK s0048a] working mode
[CHANGE][TASK s0048] occasional -> irregular
8 years ago
Thibault Francois
3424f103e2
[ADD] info on super cooperaive status on res.partner, it's not meant to be change here
8 years ago