This module adds an option analytic policy on accounts. You have the choice between 4 policies : always, never, posted moves and empty (optional).
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a per-account analytic policy so Odoo can force, forbid, or only require analytic accounts on journal entries. Accountants get an error when the rule is broken.
This module lets you decide, for each accounting account, whether an analytic account must be filled in on journal entry lines.
On the account form and in the chart of accounts list, a new field "Policy for analytic account" appears (visible to users with analytic accounting rights). It offers four choices: - Empty: no rule, the accountant is free to add or omit an analytic account. - Always: an analytic account is required on every line using this account. - Posted moves: an analytic account is required only when the entry is posted. - Never: an analytic account is forbidden on lines using this account.
When a journal entry is posted, Odoo checks all its lines. If a line uses an account with the "Always" or "Posted moves" policy and has no analytic account, or uses a "Never" account but does have one, a validation error blocks the operation and explains which account and which line are at fault. Lines with zero debit and credit are ignored.
The rule is also checked whenever the analytic account, the account, or the amounts on a line change, so mistakes are caught early. The module touches account.account, account.move, and account.move.line.
Depends on
Required by other modules
Models and fields (2)
- account.account · extends an existing modelanalytic_policy (Policy for analytic account)
- account.move.line · extends an existing model
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-03Confirmation status: 8 confirmed, 1 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.0Configuration
Source · Odoo 19.0Example:
If you want to have an analytic account on all your expenses, set the policy to always for the account of type expense. If you try to save a journal items with an account of type expense without analytic account, you will get an error message.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.