OdooWiki OCA HUB

Sale Line Returned Qty

sale_line_returned_qty folder_open OCA/stock-logistics-workflow open_in_new
Sales License: LGPL-3

This module adds the quantity returned field in the lines of the sale. The quantity appears if a return delivery note is created and validated.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows, on each sales order line, how many units have been returned by the customer. The returned quantity is calculated automatically from validated return deliveries and appears once the order is confirmed or completed.

This module adds a "Returned" quantity to every line of a sales order, so you can see at a glance how much of what you sold has come back.

Where it appears: - On the sales order form, inside the order lines, next to the delivered quantity. - In the list of order lines, as an optional "Returned" column. - Both are only visible when the order is in a confirmed or completed state (not for quotations or cancelled orders).

How it works: - The returned quantity is computed automatically from the stock movements linked to the order line. - Only completed return deliveries are counted; quantities still in progress are ignored. - The quantity is converted into the unit of measure used on the sales order line, so it stays consistent with what was sold. - The value is stored on the line and is not copied when the line is duplicated.

What it touches: - It extends the sales order line model (sale.order.line) and relies on the stock integration provided by sale_stock. - It does not create new menus or reports; it only enriches the existing sales order screen.

Depends on

sale_stock

Required by other modules

Models and fields (1)
  • sale.order.line · extends an existing modelqty_returned (Returned Qty)

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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/stock-logistics-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.