OdooWiki OCA HUB

Partner Analytic

partner_analytic folder_open OCA/account-analytic open_in_new
Accounting & Finance License: AGPL-3

This module allows to define two types of analytic account for each contact.

  • The Income Analytic Account: The default analytic account used in Invoices / Credit Notes, when the product does not have a value. The value on the partner will act as a fallback for those lines having no value yet assigned.
  • The Expense Analytic Account: Same as the Income Analytic Account, but it applies for Vendor Bills / Vendor Refunds.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Lets you set a default customer analytic account and a default vendor analytic account on each contact, so invoice and bill lines automatically get the right analytic account when none is set.

This module adds two fields to contacts: a Customer Analytic Account and a Vendor Analytic Account. You fill them in on the contact form, in the Sales and Purchase sections. They are company-specific, so the same contact can have different analytic accounts per company, and they are treated as commercial fields, meaning they are shared with child contacts.

When you create a customer invoice or credit note line, if the line has no analytic account yet, Odoo automatically fills it with the contact's Customer Analytic Account. For vendor bills and vendor refunds, it uses the contact's Vendor Analytic Account instead. This happens both when you pick a product on the line and when lines are created by other processes, so the fallback works without manual entry.

The module touches account.move.line and res.partner. It does not add new menus or reports; the new fields appear directly on the existing contact form. If a line already has an analytic account, it is left unchanged.

Depends on

account
Models and fields (2)
  • res.partner · extends an existing modelproperty_analytic_account_id (Customer Analytic Account), property_supplier_analytic_account_id (Vendor Analytic Account)
  • account.move.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 15.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/account-analytic.

terminal Installation and usage

OCA documentation · Odoo 15.0

Assign the default Income/Expense Analytic Account and it's value will be set as default for those lines where there is still no value assigned.

No verified information in OCA: Installation, Configuration.

info

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.