Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Analytic Distribution in Accounting Reports v 19.0
  4. Sales Conditions FAQ

Analytic Distribution in Accounting Reports

by leapai.ai https://leapai.ai
Odoo
v 19.0 Third Party 6
Download for v 19.0 Deploy on Odoo.sh
This module requires Odoo Enterprise Edition.
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 128
Technical Name account_reports_analytic_distribution
LicenseLGPL-3
Websitehttps://leapai.ai
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 128
Technical Name account_reports_analytic_distribution
LicenseLGPL-3
Websitehttps://leapai.ai
Module icon

Analytic Distribution in Accounting Reports

Adds an Analytic column to the General Ledger and Partner Ledger reports, so you can see which analytic accounts (projects, departments, cost centres) are linked to every journal entry line — at a glance.

Odoo 19 General Ledger Partner Ledger Analytic Accounting LGPL-3

Overview

By default, Odoo's General Ledger and Partner Ledger show financial figures but hide the analytic dimension. This module adds a dedicated Analytic column to both reports, displaying the analytic accounts and split percentages for each journal entry line.

For the Partner Ledger — where receivable/payable lines rarely carry analytic data directly — the module automatically looks up the analytic distribution from the counterpart income/expense lines of the same journal entry, so the information is always visible without any manual setup.

Key Features

📒

General Ledger — Analytic Column

Each unfolded journal entry line now shows its analytic accounts with split percentages (e.g. Marketing (60%), Operations (40%)).

🤝

Partner Ledger — Analytic Column

Even when the receivable/payable line has no analytic, the module fetches it from the matching income/expense lines of the same move.

⚡

Batch SQL — No N+1 Queries

Analytic data is loaded in a single additional query per report page, keeping rendering fast even on large datasets.

🎨

Demo Data Included

Ships with 5 posted invoices & bills and 3 analytic accounts so the feature is immediately visible after installation with demo data.

Screenshot

General Ledger and Partner Ledger with Analytic column

General Ledger (top) and Partner Ledger (bottom) — the highlighted Analytic column shows project/cost-centre allocations per line.

How It Works

1

Install the module

Depends on account_reports and analytic. Both columns and expressions are added automatically via data records — no configuration required.

2

Open General Ledger

Go to Accounting → Reporting → General Ledger. Unfold any account to see the Analytic column on each journal entry line.

3

Open Partner Ledger

Go to Accounting → Reporting → Partner Ledger. Unfold any partner to see the Analytic column derived from the matching revenue/expense lines.

💡 Tip: The Analytic column respects the existing analytic filters on the General Ledger. Apply an analytic filter to focus on a specific project or cost centre and the column will reflect those values.

Technical Details

  • Inherits account.general.ledger.report.handler — overrides _report_custom_engine_general_ledger() to inject analytic_distribution via a batch query at the AML level.
  • Inherits account.partner.ledger.report.handler — uses the official _get_additional_column_aml_values() hook plus a post-processing step in _get_aml_values() for move-level fallback.
  • A shared helper _format_analytic_distribution() is added to account.report.custom.handler so all report handlers inherit it.
  • The Analytic column is defined as figure_type="string" and renders account names with optional percentage splits (e.g. Marketing (60%), Operations (40%)).
© 2026 LeapAI — LGPL-3 License Version 19.0.1.0.0  ·  Odoo 19

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with