|
| 1 | +====================== |
| 2 | +Employee bank restrict |
| 3 | +====================== |
| 4 | + |
| 5 | +.. |
| 6 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 7 | + !! This file is generated by oca-gen-addon-readme !! |
| 8 | + !! changes will be overwritten. !! |
| 9 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 10 | + !! source digest: sha256:fcad4c62a0566610c4344fe2465e1456fb33f4c7fce25d0ae0bf90cafe928a15 |
| 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%2Fhr-lightgray.png?logo=github |
| 20 | + :target: https://github.com/OCA/hr/tree/18.0/hr_employee_bank_restrict |
| 21 | + :alt: OCA/hr |
| 22 | +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png |
| 23 | + :target: https://translation.odoo-community.org/projects/hr-18-0/hr-18-0-hr_employee_bank_restrict |
| 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/hr&target_branch=18.0 |
| 27 | + :alt: Try me on Runboat |
| 28 | + |
| 29 | +|badge1| |badge2| |badge3| |badge4| |badge5| |
| 30 | + |
| 31 | +Restrict visibility of bank accounts in contacts related to employees. |
| 32 | + |
| 33 | +This module hides bank account information in partner contacts that are |
| 34 | +linked to employees, only allowing users with accounting full access |
| 35 | +(group_account_user or group_account_manager) to view this sensitive |
| 36 | +data. |
| 37 | + |
| 38 | +Regular contacts (not related to employees) show bank accounts to all |
| 39 | +users as usual. |
| 40 | + |
| 41 | +.. IMPORTANT:: |
| 42 | + This is an alpha version, the data model and design can change at any time without warning. |
| 43 | + Only for development or testing purpose, do not use in production. |
| 44 | + `More details on development status <https://odoo-community.org/page/development-status>`_ |
| 45 | + |
| 46 | +**Table of contents** |
| 47 | + |
| 48 | +.. contents:: |
| 49 | + :local: |
| 50 | + |
| 51 | +Use Cases / Context |
| 52 | +=================== |
| 53 | + |
| 54 | +This module was developed to protect sensitive banking information of |
| 55 | +employees. |
| 56 | + |
| 57 | +In organizations where payroll or expense reimbursement is managed, |
| 58 | +employees need to provide their bank account details. These contacts are |
| 59 | +linked to employee records via the "Work Contact" field. It's common |
| 60 | +practice to restrict access to this sensitive data to only users who |
| 61 | +truly need it for payment processing. |
| 62 | + |
| 63 | +It will be useful for you if: |
| 64 | + |
| 65 | +- You manage employee payroll or expense reimbursements in Odoo. |
| 66 | +- You want to restrict access to employee bank account data. |
| 67 | +- You need to comply with data protection regulations (like GDPR). |
| 68 | + |
| 69 | +Usage |
| 70 | +===== |
| 71 | + |
| 72 | +To use this module, you need to: |
| 73 | + |
| 74 | +1. Install the module in your Odoo database. |
| 75 | + |
| 76 | +2. Ensure employees have their "Work Contact" field properly linked: |
| 77 | + |
| 78 | + - Go to the "Employees" app. |
| 79 | + - Select an employee. |
| 80 | + - In the "Work Contact" field, verify the contact is set. |
| 81 | + |
| 82 | +3. Verify the restriction works: |
| 83 | + |
| 84 | + - As a user with accounting rights (Accounting User or Accounting |
| 85 | + Manager), open a contact linked to an employee. The bank accounts |
| 86 | + section should be visible. |
| 87 | + |
| 88 | + - As a user without accounting rights (like Billing or Internal |
| 89 | + User), open a contact linked to an employee. The bank accounts |
| 90 | + section should be hidden. |
| 91 | + |
| 92 | +4. For regular contacts (not related to employees), bank accounts are |
| 93 | + always visible to all users. |
| 94 | + |
| 95 | +Bug Tracker |
| 96 | +=========== |
| 97 | + |
| 98 | +Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr/issues>`_. |
| 99 | +In case of trouble, please check there if your issue has already been reported. |
| 100 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 101 | +`feedback <https://github.com/OCA/hr/issues/new?body=module:%20hr_employee_bank_restrict%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
| 102 | + |
| 103 | +Do not contact contributors directly about support or help with technical issues. |
| 104 | + |
| 105 | +Credits |
| 106 | +======= |
| 107 | + |
| 108 | +Authors |
| 109 | +------- |
| 110 | + |
| 111 | +* Moduon |
| 112 | + |
| 113 | +Contributors |
| 114 | +------------ |
| 115 | + |
| 116 | +- Emilio Pascual (`Moduon <https://www.moduon.team/>`__) |
| 117 | + |
| 118 | +Maintainers |
| 119 | +----------- |
| 120 | + |
| 121 | +This module is maintained by the OCA. |
| 122 | + |
| 123 | +.. image:: https://odoo-community.org/logo.png |
| 124 | + :alt: Odoo Community Association |
| 125 | + :target: https://odoo-community.org |
| 126 | + |
| 127 | +OCA, or the Odoo Community Association, is a nonprofit organization whose |
| 128 | +mission is to support the collaborative development of Odoo features and |
| 129 | +promote its widespread use. |
| 130 | + |
| 131 | +.. |maintainer-EmilioPascual| image:: https://github.com/EmilioPascual.png?size=40px |
| 132 | + :target: https://github.com/EmilioPascual |
| 133 | + :alt: EmilioPascual |
| 134 | +.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px |
| 135 | + :target: https://github.com/rafaelbn |
| 136 | + :alt: rafaelbn |
| 137 | + |
| 138 | +Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: |
| 139 | + |
| 140 | +|maintainer-EmilioPascual| |maintainer-rafaelbn| |
| 141 | + |
| 142 | +This module is part of the `OCA/hr <https://github.com/OCA/hr/tree/18.0/hr_employee_bank_restrict>`_ project on GitHub. |
| 143 | + |
| 144 | +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
0 commit comments