This module is a glue module between the product_analytic and purchase modules.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Automatically fills the analytic distribution on purchase order lines using the expense analytic account configured on the product. It is a technical glue module installed automatically with purchase and product_analytic.
This module links the purchase app with the product analytic account feature. When you add a product to a purchase order line, Odoo looks at the expense analytic account set on that product's template and uses it to fill the analytic distribution of the line, assigning 100% to that account.
- The same rule applies when a purchase order line is created directly (for example through imports or automated processes): if no analytic distribution is given, the product's expense analytic account is used.
- If the product has no expense analytic account, nothing is forced and Odoo falls back to its normal analytic distribution logic.
- The behaviour is triggered on the
purchase.order.linemodel, so it affects purchase order lines wherever they appear in Odoo.
There are no new menus, buttons, reports or scheduled actions. The module is marked as auto-install, so it activates by itself once both the purchase and product analytic modules are present. Users do not configure anything here; they simply see that analytic accounts are pre-filled on purchase lines based on the product setup.
Depends on
Models and fields (1)
- purchase.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/account-analytic.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0When you create a purchase order line with a product that has an expense analytic account (or whose internal category has an expense analytic account), it will be automatically set on the purchase order line.
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.