OdooWiki OCA HUB

Purchase - Analytic Account Global

purchase_analytic_global folder_open OCA/purchase-workflow open_in_new
Purchase Management License: AGPL-3

This module adds an analytic account on the purchases that is applied on all the lines distributions.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you set one analytic distribution on a purchase order and automatically copy it to every order line, so you don't have to fill it in line by line.

This module adds an analytic distribution field directly on the purchase order form, next to the vendor reference. It is only visible to users who have the analytic accounting group enabled.

When you fill in the analytic distribution on the order header, Odoo copies it to all the order lines at once. If you need a different distribution for a specific line, you can still change it at line level.

In the other direction, the order header field is computed from the lines: if all lines share the same analytic distribution, that value is shown on the order; if the lines differ, the header field stays empty.

This saves time when a whole purchase is charged to the same analytic account or project, and it keeps the header consistent with the lines. It works on the standard purchase order screen and affects the purchase.order model and its lines.

Depends on

purchase

Required by other modules

Models and fields (1)
  • purchase.order · new modelanalytic_distribution

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-workflow.

terminal Installation and usage

No verified information

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.

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.