Skip to main content

Restrict employee bank account in employee partner

Project description

Odoo Community Association

Employee bank restrict

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

Restrict visibility of bank accounts in contacts related to employees.

This module hides bank account information in partner contacts that are linked to employees, only allowing users with accounting full access (group_account_user or group_account_manager) to view this sensitive data.

Regular contacts (not related to employees) show bank accounts to all users as usual.

Table of contents

Use Cases / Context

This module was developed to protect sensitive banking information of employees.

In organizations where payroll or expense reimbursement is managed, employees need to provide their bank account details. These contacts are linked to employee records via the “Work Contact” field. It’s common practice to restrict access to this sensitive data to only users who truly need it for payment processing.

It will be useful for you if:

  • You manage employee payroll or expense reimbursements in Odoo.

  • You want to restrict access to employee bank account data.

  • You need to comply with data protection regulations (like GDPR).

Usage

To use this module, you need to:

  1. Install the module in your Odoo database.

  2. Ensure employees have their “Work Contact” field properly linked:

    • Go to the “Employees” app.

    • Select an employee.

    • In the “Work Contact” field, verify the contact is set.

  3. Verify the restriction works:

    • As a user with accounting rights (Accounting User or Accounting Manager), open a contact linked to an employee. The bank accounts section should be visible.

    • As a user without accounting rights (like Billing or Internal User), open a contact linked to an employee. The bank accounts section should be hidden.

  4. For regular contacts (not related to employees), bank accounts are always visible to all users.

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/hr 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_employee_bank_restrict-18.0.1.0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_hr_employee_bank_restrict-18.0.1.0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e39ccec77663d66f227117518338a7f0dda3117ad3fdd1bd9e0f01c961dcd080
MD5 2d77b790181d4c75541cfb76387d8e03
BLAKE2b-256 4e3c5c02067ba3ed230370a5d920c105a1bba6847f22e97f4c70baf896f42189

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