Analytic Mixin Analytic Account
This module adds a many2many analytic accounts field, which is computed based on the value of analytic distribution, to the analytic mixin in a bid to overcome the inconveniences of not having them directly on the model that inherits the mixin.
Possible use cases:
- Include analytic accounts field in data export.
- Use the field as a hook point to add some logic in a custom module.
The module also adds a field for analytic account names, which displays the names of these accounts in a comma-separated format. This feature could be useful for efficient data administration as applicable (e.g. you do not want to split lines per analytic account when records are exported).
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds two read-only fields to records that use analytic distribution: a list of the analytic accounts involved and their names as a comma-separated text. Useful for exports and as a hook for custom logic.
This module extends the shared analytic mixin used by many Odoo documents (for example invoice or journal entry lines) so that each record shows which analytic accounts are used in its analytic distribution.
Two new computed fields appear on those records:
- Analytic Accounts: a list of the analytic accounts taken from the analytic distribution. It is recalculated automatically whenever the analytic distribution changes, and it also includes archived accounts.
- Analytic account names: a single text field containing the names of those accounts separated by commas, handy when exporting data without splitting one line per account.
If a record has no analytic distribution, both fields are simply empty.
Because the fields are computed and read-only, users do not fill them in manually; they are meant for reporting, data export and as a starting point for custom developments. The module does not add menus, buttons, reports, checks or scheduled actions, and it does not change how analytic distribution itself works. It only makes the resulting accounts visible and reusable on any model that inherits the analytic mixin.
Depends on
Models and fields (1)
- analytic.mixin · extends an existing modelanalytic_account_ids (Analytic Accounts), analytic_account_names
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 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
No verified informationInstallation 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.