OdooWiki OCA HUB

Purchase Stock Analytic

purchase_stock_analytic folder_open OCA/account-analytic open_in_new
Uncategorised License: AGPL-3

This module copies the analytic distribution of the purchase order item to the stock move.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Copies the analytic distribution entered on a purchase order line to the related stock moves, so the same analytic accounts are used for both purchasing and inventory movements.

This module links the analytic accounting information of a purchase order line with the stock movements generated from it. When a purchase order line has an analytic distribution (the split of costs across analytic accounts), that same distribution is automatically applied to the stock moves created for that line.

  • When stock moves are prepared from a purchase order line, the analytic distribution of the line is added to each prepared move, unless the line has no analytic distribution.
  • If the analytic distribution on a purchase order line is later changed, the module updates the analytic distribution on the related stock moves that are not cancelled or done and that belong to the same product.

It works on the purchase.order.line model and relies on the purchase and stock analytic features. No new menus, screens, buttons or reports are added; the change happens automatically in the background.

Depends on

purchase_stockstock_analytic
Models and fields (1)
  • purchase.order.line · extends an existing model

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 17.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Create a purchase order
  • Set analytic distribution on purchase order lines
  • Confirm purchase order
  • ... and you should have your analytic distribution on your stock moves

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.