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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_hr_timesheet_amount_security-18.0.1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db5d4974cf3a8f8ff04e4ac89412b311255491289f07f1064a71419e611968d1
MD5 dc7a97606fa58a9da70b96d4aa49e4d1
BLAKE2b-256 8df09673733795c04cc85f0c382e71d99ae36255dcf9b735b05fbc3c41c30cea

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