Skip to main content
Odoo Community Association

Worker Status manager

Beta License: AGPL-3 beescoop/Obeesdoo

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

Authors

  • Thibault Francois

  • Elouan Le Bars

  • Coop IT Easy SC

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.

Metadata

Release files for odoo-addon-shift-worker-status 16.0.1.0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoo-addon-shift-worker-status 16.0.1.0.1.1
File Size Uploaded
odoo_addon_shift_worker_status-16.0.1.0.1.1.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-shift-worker-status 16.0.1.0.1.1
File Interpreter ABI Platform
odoo_addon_shift_worker_status-16.0.1.0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 39.0 kB

Release files / odoo_addon_shift_worker_status-16.0.1.0.1.1.tar.gz

Download URL odoo_addon_shift_worker_status-16.0.1.0.1.1.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bdf1668e8c8b63244e94cd278287d2e63a70c8ee5373f2b26aadd6fd98df930b
BLAKE2b-256 checksum
How to use checksums
c2d2822728ca4cb7b104efda73fe65f812681ada5534b5e695f8688d2c29d4ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / odoo_addon_shift_worker_status-16.0.1.0.1.1-py3-none-any.whl

Download URL odoo_addon_shift_worker_status-16.0.1.0.1.1-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01bb44c91714e938f1c995127407a00c1ffc3e4a628f426d06b43baf44279c77
BLAKE2b-256 checksum
How to use checksums
206fc954359507678517d9c214aa2a93fbafba8e725b23861ba5e76fe1e25097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

16.0.1.0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page