Employee bank restrict

hr_employee_bank_restrict
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/18.0/hr_employee_bank_restrict
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources/Employees
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Emilio Pascual
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
    - account
    - onboarding
    - product
    - uom
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits base.view_partner_form
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.