OdooWiki OCA HUB

MRP Stock Analytic

mrp_stock_analytic folder_open OCA/account-analytic open_in_new
Manufacturing/Manufacturing License: AGPL-3

Allows to assign the analytic distribution in the manufacturing order, which propagates the value to the component stock moves. Optionally, it can also propagate to finished product moves (including byproducts) when the corresponding setting is enabled.

This function can be useful when cost analysis needs to be done on consumed components or finished products.

Additionally, analytic distribution from manufacturing orders is propagated to WIP accounting entries. When creating WIP journal entries through the WIP Accounting wizard, the analytic distribution is automatically applied to the WIP account move lines. When multiple manufacturing orders with different analytic distributions are selected, separate WIP lines are created for each analytic distribution.

This module depends on OCA module stock_analytic.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you set an analytic distribution on a manufacturing order so the analytic accounts are carried onto the component stock moves, and optionally onto finished product moves and WIP accounting entries.

This module adds an analytic distribution field to manufacturing orders. You fill it in on the manufacturing order form (or see it in the manufacturing orders list), and the same distribution is automatically written onto the component moves of that order. If the company option "MRP Analytic on Finished Products" is enabled in Settings, the distribution is also written onto the finished product moves, including byproducts.

When a manufacturing order is marked as done, the distribution is checked against the analytic rules configured for the product, operation type and company, so invalid combinations are blocked before completion.

For work-in-progress accounting, the WIP accounting wizard now shows the analytic distribution on its lines. When you confirm the wizard, the analytic distribution is copied onto the generated journal entry lines for the WIP account. If several manufacturing orders with different analytic distributions are selected, the wizard creates separate WIP lines per distribution, and the usual checks still apply: total debit must equal total credit and the reversal date must be after the posting date.

The module touches manufacturing orders, stock moves, company settings, the WIP accounting wizard and its lines, and the resulting journal entries.

Depends on

mrp_accountstock_analytic
Models and fields (6)
  • stock.move · extends an existing model
  • res.company · extends an existing modelmrp_analytic_on_finished
  • mrp.production · new modelanalytic_distribution
  • res.config.settings · extends an existing modelmrp_analytic_on_finished
  • mrp.account.wip.accounting · extends an existing model
  • mrp.account.wip.accounting.line · new modelcompany_id

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

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

Refer to the relevant section of the stock_analytic module.

To propagate analytic distribution to finished product moves, enable MRP Analytic on Finished Products under Settings > Inventory > Valuation.

Set analytic distribution on a manufacturing order, complete it, and analytic lines will be generated accordingly for the flushed components when automatic inventory valuation is enabled for the product category.

No verified information in OCA: Installation.

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.