OdooWiki OCA HUB

Sale Order Whole Delivered Invoiceability

sale_order_whole_delivered_invoiceability folder_open OCA/account-invoicing open_in_new
Sales Management License: AGPL-3

This module prevents the invoiceability of the sale orders until all the stockable products has been delivered.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a customer setting that blocks invoicing a sale order until every delivered-policy product on it has been fully delivered. The setting is copied onto new sale orders and can be overridden per order.

This module changes when a sale order can be invoiced. On the customer form (Sales & Purchases tab) a new checkbox "whole_delivered_invoiceability" appears; when ticked, that customer's orders will not be invoiceable until everything has been delivered.

The same checkbox is available on the sale order itself. It is filled automatically from the customer, but users can change it on a specific order if needed.

Business rule: for orders with the option active, if any order line uses the "delivered quantities" invoicing policy and the delivered quantity is still lower than the ordered quantity, the order's invoice status is forced to "Nothing to Invoice". Only once all such lines are fully delivered does the order become invoiceable again.

A new filter "Partial orders not invoiced" is added to the sale orders search view. It lists confirmed orders where the option is active, the order is not fully invoiceable, and at least one line is still waiting to be invoiced.

The module extends res.partner and sale.order. The customer setting is a commercial field, so it is shared with the customer's child contacts.

Depends on

sale
Models and fields (2)
  • sale.order · extends an existing modelwhole_delivered_invoiceability
  • res.partner · extends an existing modelwhole_delivered_invoiceability

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

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Create a new storable product
  • Set its invoicing policy as "Delivered Quantities".

To use this module you need to:

  • Go to a customer that you do not want to invoice for incomplete deliveries and check the option ‘Whole Delivered Invoiceability’.
  • Create a sales order and do a partial delivery.

Although it is possible to create an invoice from the order itself, the ‘Create invoice’ button will remain white and the order will not appear in the list of orders to be invoiced, which can be consulted from the ‘To invoice’ menu.

No verified information in OCA: Installation.

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.