|
| 1 | +============================ |
| 2 | +HR Timesheet Amount Security |
| 3 | +============================ |
| 4 | + |
| 5 | +.. |
| 6 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 7 | + !! This file is generated by oca-gen-addon-readme !! |
| 8 | + !! changes will be overwritten. !! |
| 9 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 10 | + !! source digest: sha256:5ac1633036f36898d3ee2c4f4d38aad4126fa9ec33f334a86c35d7c5d0d7b212 |
| 11 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 12 | +
|
| 13 | +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png |
| 14 | + :target: https://odoo-community.org/page/development-status |
| 15 | + :alt: Alpha |
| 16 | +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png |
| 17 | + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html |
| 18 | + :alt: License: LGPL-3 |
| 19 | +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github |
| 20 | + :target: https://github.com/OCA/timesheet/tree/18.0/hr_timesheet_amount_security |
| 21 | + :alt: OCA/timesheet |
| 22 | +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png |
| 23 | + :target: https://translation.odoo-community.org/projects/timesheet-18-0/timesheet-18-0-hr_timesheet_amount_security |
| 24 | + :alt: Translate me on Weblate |
| 25 | +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png |
| 26 | + :target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=18.0 |
| 27 | + :alt: Try me on Runboat |
| 28 | + |
| 29 | +|badge1| |badge2| |badge3| |badge4| |badge5| |
| 30 | + |
| 31 | +This module adds security restrictions to timesheet amount fields. |
| 32 | + |
| 33 | +It restricts access to cost-related fields in timesheet reports to users |
| 34 | +who have the "Allow to read analytic costs" permission from the |
| 35 | +```analytic_amount_security`` <https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security>`__ |
| 36 | +module. |
| 37 | + |
| 38 | +.. IMPORTANT:: |
| 39 | + This is an alpha version, the data model and design can change at any time without warning. |
| 40 | + Only for development or testing purpose, do not use in production. |
| 41 | + `More details on development status <https://odoo-community.org/page/development-status>`_ |
| 42 | + |
| 43 | +**Table of contents** |
| 44 | + |
| 45 | +.. contents:: |
| 46 | + :local: |
| 47 | + |
| 48 | +Use Cases / Context |
| 49 | +=================== |
| 50 | + |
| 51 | +This module addresses the need to control which users can view cost |
| 52 | +information in timesheet reports. In many organizations, regular |
| 53 | +employees should be able to see time tracking information but not the |
| 54 | +monetary costs associated with that time. |
| 55 | + |
| 56 | +The module leverages the ``group_allow_read_analytic_amount`` group from |
| 57 | +the |
| 58 | +```analytic_amount_security`` <https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security>`__ |
| 59 | +module to restrict access to: |
| 60 | + |
| 61 | +- Amount field in Timesheets Analysis Report |
| 62 | +- Cost fields in Timesheet Attendance Report (timesheets_cost, |
| 63 | + attendance_cost, cost_difference) |
| 64 | + |
| 65 | +This allows for fine-grained control over financial data visibility |
| 66 | +while maintaining transparency for time tracking. |
| 67 | + |
| 68 | +Bug Tracker |
| 69 | +=========== |
| 70 | + |
| 71 | +Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/issues>`_. |
| 72 | +In case of trouble, please check there if your issue has already been reported. |
| 73 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 74 | +`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_amount_security%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
| 75 | + |
| 76 | +Do not contact contributors directly about support or help with technical issues. |
| 77 | + |
| 78 | +Credits |
| 79 | +======= |
| 80 | + |
| 81 | +Authors |
| 82 | +------- |
| 83 | + |
| 84 | +* Moduon |
| 85 | + |
| 86 | +Contributors |
| 87 | +------------ |
| 88 | + |
| 89 | +- Emilio Pascual emilio.pascual@moduon.team |
| 90 | +- Rafael Blasco rafael.bn@moduon.team |
| 91 | + |
| 92 | +Maintainers |
| 93 | +----------- |
| 94 | + |
| 95 | +This module is maintained by the OCA. |
| 96 | + |
| 97 | +.. image:: https://odoo-community.org/logo.png |
| 98 | + :alt: Odoo Community Association |
| 99 | + :target: https://odoo-community.org |
| 100 | + |
| 101 | +OCA, or the Odoo Community Association, is a nonprofit organization whose |
| 102 | +mission is to support the collaborative development of Odoo features and |
| 103 | +promote its widespread use. |
| 104 | + |
| 105 | +.. |maintainer-EmilioPascual| image:: https://github.com/EmilioPascual.png?size=40px |
| 106 | + :target: https://github.com/EmilioPascual |
| 107 | + :alt: EmilioPascual |
| 108 | +.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px |
| 109 | + :target: https://github.com/rafaelbn |
| 110 | + :alt: rafaelbn |
| 111 | + |
| 112 | +Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: |
| 113 | + |
| 114 | +|maintainer-EmilioPascual| |maintainer-rafaelbn| |
| 115 | + |
| 116 | +This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/18.0/hr_timesheet_amount_security>`_ project on GitHub. |
| 117 | + |
| 118 | +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
0 commit comments