OdooWiki OCA HUB

Analytic amount security

analytic_amount_security folder_open OCA/account-analytic open_in_new
Technical License: LGPL-3

This module allows to set security over the amount field of analytic lines.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a security group that controls which users can see the amount (cost) on analytic lines. By default, regular users and analytic accounting users are granted this access.

This module restricts visibility of the monetary amount recorded on analytic lines. It creates a new access group called "Allow to read analytic costs" and ties the amount field on account.analytic.line to that group.

  • Users who belong to this group can see the amount on analytic lines; users who do not belong to it cannot read that value.
  • The module automatically adds the new group to two existing groups: the standard internal user group (base.group_user) and the analytic accounting group (analytic.group_analytic_accounting). This means that, out of the box, all internal users and all analytic accounting users keep seeing the amount.
  • Administrators can change this behaviour by editing the implied groups in the security settings, so that only selected users or teams can view analytic costs.

The module touches the account.analytic.line model and its amount field. It does not add menus, buttons, reports, or automated computations; its only effect is a read restriction on that field. No other business rules, emails, or scheduled actions are introduced.

Depends on

analytic

Required by other modules

Models and fields (1)
  • account.analytic.line · extends an existing modelamount

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-analytic.

terminal Installation and usage

OCA documentation · Odoo 19.0

By itself, the module respects the original permissions. All internal users will be able to access the amounts of the analytic lines to which they have access.

To constrain which groups are allowed to see those costs, you can either:

  • Add or remove users:
  • Enable developer mode.
  • Go to Settings > Users and locate the one you need.
  • Set the Allow to read analytic costs checkbox on or off.
  • Change the implied groups:
  • Go to Settings > Users & Companies > Groups and choose which groups inherit this group.

Be aware that restricting the scope too much could lead to misbehavior in the regular processes involved in the analytic accounting workflows.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.