Skip to main content

Add security restrictions to timesheet amount fields

Project description

Alpha License: LGPL-3 OCA/timesheet Translate me on Weblate Try me on Runboat

This module adds security restrictions to timesheet amount fields.

It restricts access to cost-related fields in timesheet reports to users who have the “Allow to read analytic costs” permission from the `analytic_amount_security <https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security>`__ module.

Table of contents

Use Cases / Context

This module addresses the need to control which users can view cost information in timesheet reports. In many organizations, regular employees should be able to see time tracking information but not the monetary costs associated with that time.

The module leverages the group_allow_read_analytic_amount group from the `analytic_amount_security <https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security>`__ module to restrict access to:

  • Amount field in Timesheets Analysis Report

  • Cost fields in Timesheet Attendance Report (timesheets_cost, attendance_cost, cost_difference)

This allows for fine-grained control over financial data visibility while maintaining transparency for time tracking.

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

  • Moduon

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

EmilioPascual rafaelbn

This module is part of the OCA/timesheet project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_hr_timesheet_amount_security-18.0.1.0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_hr_timesheet_amount_security-18.0.1.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e496861b29727e6ae385c5c8250493ace5057f7dd9c579235df7c3dbc8c2ae8
MD5 6e2ded028cfbb4ab07b519d98be6e950
BLAKE2b-256 b2ce4604eb0412a376461f08bc77cd760e6d362681d24d30e8102c91ca09392d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page