Account Analytic Default Account
This module adds the ability to set a default analytic account on accounts.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Lets you set a default analytic account based on the general ledger account, so invoice and journal entry lines automatically get the right analytic account when that account is used.
This module extends the existing analytic distribution rules so that a rule can also be tied to a specific general ledger account. On the Analytic Defaults screen you now see an extra Account field, and you can group or filter the list by that account.
When you enter an invoice line, the system looks for the best matching rule using the product, customer, user, date, company and the line's account, and fills in the analytic account automatically. The same happens on journal entry lines: when you pick an account, or when a journal entry is posted, any line without an analytic account gets one from the matching rule. Lines created directly also receive the analytic account if none was given.
Rules are matched by scoring: the rule with the most matching criteria wins, and date ranges are taken into account. If a rule is requested specifically for an account but nothing matches, no analytic account is set.
This affects customer invoices, vendor bills, journal entries and the analytic defaults configuration screen.
Depends on
Models and fields (4)
- account.move · extends an existing model
- account.move.line · extends an existing model
- account.invoice.line · extends an existing model
- account.analytic.default · extends an existing modelaccount_id (Account)
Text generated by AI (DeepSeek) from reading the Odoo 12.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 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/account-analytic.
terminal Installation and usage
OCA documentation · Odoo 12.0Usage
Source · Odoo 12.0Go to Accounting -> Configuration -> Analytic Defaults and set the corresponding settings.
No verified information in OCA: Installation, Configuration.
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.