Stop tagging every invoice line by hand for each branch or activity
Journal Default Analytic Distribution puts a default analytic distribution on each journal. When the journal is chosen on an invoice, bill or journal entry, every income and expense line without a distribution is filled, and a value set by hand is never overwritten. In the Profit and Loss and the Balance Sheet, an Unclassified column shows what no analytic column covers.
When each branch or activity has its own journal, the analytic account is already obvious from the journal, yet someone still tags every invoice line by hand. Lines get missed, and the analytic columns of the Profit and Loss no longer add up to the total. Nobody can see at a glance how much of the result sits outside any analytic account.
Screenshots
The default analytic distribution on a journal, edited with Odoo's own analytic widget.Choosing the journal on an invoice fills every income line that has no distribution yet.The Unclassified column shows what no analytic column covers, so the columns add up to Total. Play demoAnimated demo of setting a journal's default distribution.
What it does
A default per journal
Add a Default Analytic Distribution on the Journal Entries tab of each journal.
Edit it with Odoo's own analytic distribution widget, the same one used on an invoice line.
Use one analytic account at 100 % or a split across several accounts and plans, for example 60 % Downtown Store and 40 % Airport Store.
Lines filled, manual values kept
When the journal is chosen or changed on an invoice, bill or journal entry, income and expense lines without a distribution are filled.
Tax, receivable, payable, bank and other balance sheet lines are left without a distribution.
A distribution set by hand is never overwritten, and is recognised as manual even after the journal changes.
Switching the journal replaces the distribution the previous journal applied, or clears it when the new journal has none.
New lines from anywhere, existing lines untouched
New income and expense lines created by an import, the API or another app, such as an invoice from a sales order, are filled from their journal.
A distribution that app passes in, or one an analytic distribution model sets, is kept.
Existing lines are never changed.
Unclassified column in the reports
With Analytic chosen in the Profit and Loss or the Balance Sheet, an Unclassified column appears right before Total.
Unclassified is the total minus the analytic columns, so the columns always add up.
Who it is for
A good fit for
Companies that run one journal per branch, store or activity and report by analytic account.
Accounting teams that tag invoice lines by hand today.
Billing users who issue invoices and should not have to think about analytic accounts.
Not a fit for
Back-filling existing entries: lines that already exist are never changed.
Analytic distribution on tax, receivable, payable, bank or other balance sheet lines.
Odoo Community: the app needs Accounting Reports, which is part of Enterprise.
Databases on Odoo Online (SaaS), which cannot install third-party apps.
Download Journal Default Analytic Distribution free from the Odoo Apps Store for Odoo 18, 19 or 20.
Add the module to your Odoo.sh project or to the addons path of your on-premise server.
Update the apps list in Odoo and install the app. A guide opens once after installation and stays available under Accounting > Configuration.
Odoo Online (SaaS) does not allow third-party apps, so the app cannot be installed there. Use Odoo.sh or an on-premise Enterprise database.
Questions: info@flexcodesys.com.
Configure
Make sure Analytic Accounting is switched on.
Open Invoicing or Accounting > Configuration > Accounting > Journals and open a journal.
On the Journal Entries tab, set the Default Analytic Distribution: one analytic account at 100 % or a split across accounts and plans. Repeat for each journal.
Setting
What it does
Default Analytic Distribution
On the Journal Entries tab of each journal. Filled into new income and expense lines without a distribution.
How to use it
Issue invoices and bills
Create the invoice, bill or journal entry and choose the journal as usual.
Income and expense lines without a distribution get the journal's default.
Change a line's distribution by hand where needed. That value stays, even if the journal is changed later.
Read the analytic report
Open Reporting > Profit and Loss or Balance Sheet.
Choose the analytic accounts under Analytic.
Check the Unclassified column before Total to see what no analytic column covers.
Limits
Only new lines are filled; existing lines are never changed.
Only income and expense lines get a distribution.
Enterprise only, because it depends on Accounting Reports.
It cannot be installed on Odoo Online (SaaS).
FAQ
Which lines are filled?
Real lines on income and expense accounts that have no analytic distribution yet. Tax, receivable, payable, bank and other balance sheet lines are left alone.
What happens when I change the journal?
A distribution the previous journal applied is replaced by the new journal's, or cleared when the new journal has none. A distribution you set by hand stays as it is.
Does it change entries created automatically?
Only new lines without a distribution. A new income or expense line created by an import, the API or another app is filled from its journal. A distribution that app passes in, or one an analytic distribution model sets, is kept, and existing lines are never changed.
Can a journal split across several analytic accounts?
Yes. The field uses Odoo's own analytic distribution widget: one account at 100 % or percentages across several accounts and plans.
Does it work for users who only issue invoices?
Yes. Billing users get the journal's distribution on new lines too, and switching the journal on their invoice replaces the distribution the previous journal applied.