sale_line_service_qty_delivered
This addon automatically increases or decreases the delivered quantity for sale.order.lines where a service product with a invoice policy delivery is set. An order line's delivered quantity is increased to its max as soon as another line with a stock product is delivered or if there is no line with stock product. An order line's delivered quantity is decreased to zero when all lines with stock product are entirely returned.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Automatically sets the delivered quantity of service order lines (with delivery-based invoicing) to their full ordered quantity once any stock product on the same order is delivered, or if the order has no stock products.
This module changes how Odoo calculates the delivered quantity for service products on a sales order when the product's invoicing policy is 'Delivered'. Normally, service lines are not linked to stock moves, so their delivered quantity stays at zero. With this module, such service lines get a new delivered quantity method called 'Delivery'.
- When a sales order contains at least one stock product line that has been delivered (its delivered quantity is not zero), all service lines with the 'Delivery' method on that same order are automatically set to their full ordered quantity.
- If the order has no stock product lines at all, the service lines are also set to their full ordered quantity.
- If all stock product lines are returned (delivered quantity becomes zero), the service lines' delivered quantity is reduced back to zero.
The module also adjusts the order's invoice status: if the order is in 'Sales Order' or 'Done' state and its invoice status is 'Nothing to Invoice', but at least one service line with the 'Delivery' method is ready to be invoiced, the order's invoice status is changed to 'To Invoice'.
This affects the sale.order and sale.order.line models. No new menus or screens are added; the changes are visible in the delivered quantity field on sales order lines and in the invoice status of the sales order.
Depends on
Models and fields (2)
- sale.order · extends an existing model
- sale.order.line · extends an existing modelqty_delivered_method
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: 1 confirmed, 8 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 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.