Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources/Employees
Folder size
0.04 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), Moduon
Maintainers
Odoo Community Association (OCA), Moduon
Committers
Emilio Pascual, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form_inherit_bank_restrict res.partner.form.bank.restrict res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (1)
  • can_view_bank_accounts Boolean
    compute='_compute_can_view_bank_accounts' compute_sudo=True store=False
Public methods (0)

No public methods.