Adds Analytic Distribution field in stock move to be able to get analytic information when generating the journal items.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets you attach analytic accounts (cost/revenue analysis tags) directly on stock moves, move lines, pickings and scrap orders, so the accounting entries created from inventory movements carry the right analytic distribution.
This module connects warehouse operations with analytic accounting. It adds an Analytic Distribution field on stock moves, stock move lines, transfers and scrap orders, visible only to users with the Analytic Accounting group.
Where it appears: - On transfer forms, in the Operations list next to each product line. - On stock move lists and forms, including receipt pickings. - On detailed move line lists and picking lines. - On scrap order forms. - In the Analytic Plan configuration, where you can now choose "Stock Move" as a business domain and restrict the plan to a specific Operation Type.
Automatic behaviour: - When you set an analytic distribution on a stock move, it is copied to all its move lines, and vice versa. - When a move creates a new move through a procurement rule, the analytic distribution is carried over. - When move lines are created manually, the distribution is copied to the generated move. - When a transfer is validated or a scrap is confirmed, the system checks the analytic distribution against the applicability rules configured on analytic plans; returns are excluded from this check. - When the stock valuation journal entries are generated, the analytic distribution is written on the accounting lines, except on the stock valuation account lines.
It touches stock.move, stock.move.line, stock.picking, stock.rule, stock.scrap and account.analytic.applicability.
Depends on
Required by other modules
Models and fields (6)
- stock.move · new modelanalytic_distribution
- stock.rule · extends an existing model
- stock.scrap · new model
- stock.picking · extends an existing model
- stock.move.line · new model
- account.analytic.applicability · extends an existing modelbusiness_domain, stock_picking_type_id (Operation Type)
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-03Confirmation status: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/account-analytic.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0As necessary, go to Invoicing \> Configuration \> Analytic Plans, open the relevant record and update the applicability for 'Stock Move'.
Usage
Source · Odoo 19.0To Assign an Analytic Account to a Stock Move
You need to:
- Create manually or open draft picking
- Add move lines and assign an analytic account in Analytic Distribution field
Assigned Journal Items created from Stock Move with Analytic Account
If stock move automatically create journal entry, the journal entry will contain journal items with following rule:
- Journal item with account equal to product's valuation account will not be assigned to any analytic account.
- Journal item with account different to product's valuation account will be assigned to an analytic account according to the stock move's analytic account.
Analytic applicability judgment
Applicability of the analytic distribution is judged based on the applicability settings of the analytic plan.
Note that this module adds the 'Stock Move' option to the business domain, and 'Operation Type' field.
Return moves are currently outside the scope of the validation / applicability judgment (i.e. treated the same as optional) to allow some flexibility in the operation since multiple factors (e.g. applicability of the original move) may need to be considered to correctly judge the applicability.
No verified information in OCA: Installation.
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.