Copies the analytic account of the sale order and the analytic tags of the sale order line to the stock move
auto_awesome What this module does
AI-generated from the code · Odoo 14.0When a sale order generates a stock move, this module copies the sale order's analytic account and the sale order line's analytic tags onto that stock move, so costs and revenues stay linked to the same analytic tracking.
This module links sales and inventory accounting by carrying analytic information from a sale order into the stock movements it creates.
- When Odoo creates a stock move from a sale order line, the module looks at that sale order line.
- If the sale order line has analytic tags, those same tags are copied onto the stock move.
- If the sale order has an analytic account, that account is copied onto the stock move.
- If the sale order line has no analytic tags, or the sale order has no analytic account, nothing is changed for that part.
It works automatically in the background whenever stock moves are generated through procurement rules, so users do not need to enter analytic data again on the stock move. It touches the stock.rule model and reads data from sale.order.line and the related sale order. There are no new menus, screens, buttons or reports; the change is only visible in the analytic account and analytic tags fields of the generated stock moves.
Depends on
Models and fields (1)
- stock.rule · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 14.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 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/account-analytic.
terminal Installation and usage
No verified informationInstallation 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.