Worker status management.
Project description
Worker status management.
add “irregular penalty” config in shift settings
compute next countdown date and future alert date for irregular workers, taking into account holidays and exemption status
compute the future alert date for irregular workers, taking into account holidays and exemption status
compute regular and irregular statuses according to alert start day, alert delay, grace delay and time extensions, taking into account holidays and exemption status
recompute status and counters when a shift undergoes a state change
postpone alert start time based on holidays and extension status
handle is_regular and is_compensation consistency on shifts, on worker change and by raising a validation error if the fields are not properly set
Table of contents
Changelog
12.0.1.1.0 (2022-06-23) Features
Do not apply a penalty to irregular customers twice in a row. Best explained through an example.
Imagine the following ‘sr’ of an irregular worker:
0 -> -2 (cron, penalty) -> -1 (work a shift) -> 0 (work another shift) -> ??? (cron)
The last step should go to -1 instead of -2. The penalty should not be given again until sr has reached 1. (#388)
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
BEES coop - Cellule IT
Coop IT Easy SC
Maintainers
This module is part of the beescoop/Obeesdoo project on GitHub.
You are welcome to contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo-addon-shift_worker_status-16.0.1.0.0.8.tar.gz.
File metadata
- Download URL: odoo-addon-shift_worker_status-16.0.1.0.0.8.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b10aef946035e308d3bf5a48de59d92bd42cbc9c7f9b986984d374d7d3efa8a
|
|
| MD5 |
b6b1e68f79a8c19f849e9599260159d0
|
|
| BLAKE2b-256 |
c6f10f4e5a69a6caae5c01f23a2629dfc75d55366ad1f55e6ba52f7cecbc9542
|
File details
Details for the file odoo_addon_shift_worker_status-16.0.1.0.0.8-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_shift_worker_status-16.0.1.0.0.8-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4ef354e35b2421434549cd5761c613e9f98303be441c7ef9f2c30c62544c4aa
|
|
| MD5 |
9a81f0a9c37a449e481a87bf8f389696
|
|
| BLAKE2b-256 |
4f7066857425ac32ab9be0e8ceb3d7066060e9622453a89478e1982fbb851132
|