Sale Order Line Stock Moves History
This module provides a button on each sale order line to view the stock moves history related to the product of that sale order line. It enhances the visibility of stock movements directly from the sales order interface.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a history button on each sale order line that opens the list of stock movements linked to that product and line, so users can trace deliveries and receipts without leaving the sales order.
This module makes stock movement history visible directly from a sales order. On the Sales Order form, inside the order lines list, a small history icon button appears next to the delivered quantity of each line.
Clicking that button opens a read-only list titled "Stock Moves History for <product>" showing the stock move lines related to that specific sale order line and product. The list shows the product, date, reference, source and destination locations, quantity, unit of measure, status and who completed the move.
Business rules visible in the screen: - Quantities going out of internal or transit locations are highlighted in red; quantities coming into internal or transit locations are highlighted in green. - The status badge is colour-coded: cancelled in red, assigned in blue, draft in grey, done in green, and other statuses in orange. - The list is read-only: no new stock moves can be created from it.
It touches the sales order line model (sale.order.line) by adding the button action, and reuses the stock move line model (stock.move.line) for the history list. No new menus, scheduled jobs or emails are added.
Depends on
Models and fields (1)
- sale.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0- Navigate to Sales.
- Create or open a sale order.
- On each sale order line, next to the 'Delivered' field, you will find a button to view the stock moves history for the product in that sale order.
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.