OdooWiki OCA HUB

Sale Stock Order Line Sequence

sale_stock_line_sequence folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

Glue module between Sale Order Line Sequence and Stock Picking Line Sequence that assigns sequence correctly to the move associated with the sale order line. It does not take into account the sections and notes in the sale order.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Keeps the order of products on a sales order and its delivery in sync. When you confirm a sale or change its lines, the related stock moves are automatically renumbered to match the sales order line order.

This module links the line order of a sales order with the line order of the related delivery. It is installed automatically when both the sales order line sequence and stock picking line sequence features are present.

What it does: - When you confirm a sales order, the sequence of the stock moves in the generated pickings is updated to match the visible sequence of the corresponding sales order lines. - If you later change the order lines on a confirmed sales order, the stock moves are updated again to keep the same order. - Only moves linked to real product lines are updated; section and note lines are ignored.

Business rule: - You cannot change the sequence of a stock move directly from the picking if it is linked to a sales order line. A warning message tells you to change the order from the sales order instead.

Where it appears: - The effect is visible in the delivery orders (stock pickings) where the move order follows the sales order line order. - The restriction appears when trying to edit the sequence field on a stock move that comes from a sales order.

Models touched: - sale.order (methods action_confirm and write) - stock.move (onchange on sequence)

Models and fields (2)
  • sale.order · extends an existing model
  • stock.move · 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 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.

terminal Installation and usage

No verified information

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.

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.