OdooWiki OCA HUB

Sale Invoice Automatic Deliver

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

The goal of this module is to automatically deliver products when a user create an invoice.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds a new option when invoicing a sales order that invoices the whole order and automatically validates the related delivery, so the goods are marked as delivered in one step.

When you use the "Create Invoice" wizard on a sales order, a new choice appears in the invoicing method list: "Invoice the whole sales order + Automatic Deliver".

If you pick it, the module looks at the delivery orders linked to the selected sales orders. It first tries to reserve the stock for those deliveries. If every delivery can be fully reserved, it validates them immediately (using the standard immediate transfer confirmation), so the deliveries become done.

  • If some products are not available, the delivery cannot be reserved and the module stops with an error message: "You cannot automatic deliver this order, some products are not available". No invoice is created in that case.
  • If all deliveries are successfully validated, the invoicing method is switched to "Delivered quantities" and the normal invoice creation continues, so the invoice is based on the delivered quantities.

This affects the sales invoicing wizard (sale.advance.payment.inv) and works together with stock pickings (stock.picking) and the immediate transfer wizard. It is useful when you want to invoice and ship in a single action without manually validating the delivery first.

Depends on

salesale_stockstock
Models and fields (1)
  • sale.advance.payment.inv · extends an existing modeladvance_payment_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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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

OCA documentation · Odoo 14.0

To use this module, you need to:

When you invoice a sale order, you can choose to deliver products at the same time by using the option: "Invoice the whole sales order + Automatic Deliver". This feature can be useful when products are already picked.

Consider as pre-requisite that all products must be available.

No verified information in OCA: Installation, Configuration.

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.