OdooWiki OCA HUB

Sale Invoice Blocking

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

This module extends the functionality of sales to allow you to block the creation of invoices from a sales order and give a reason.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you block invoicing on a sales order by selecting a blocking reason, so no invoice can be created from that order until the block is removed.

This module adds a way to stop invoices from being generated for a specific sales order while keeping the order itself active.

  • On the sales order form, a new field "Blocking for invoicing" appears next to the customer reference. You pick a reason from a list of blocking reasons.
  • As soon as a reason is set and the order is confirmed or done, the order's invoice status is forced to "Nothing to Invoice", and no order lines are considered invoiceable. This means the usual "Create Invoice" button will not produce an invoice.
  • If someone tries to invoice anyway, the error message now includes a hint that an invoice blocking reason may be present on the order.
  • Blocking reasons are managed in Sales > Configuration > Invoicing block reasons. Each reason has a name, and two reasons cannot share the same name.
  • Sales managers can create, edit and delete reasons; other internal users can only view them.
  • The module touches the sales order model (sale.order) and adds a new reason model (invoice.blocking.reason).

Depends on

salesales_team

Menus it adds

menu_invoice_blocking_reason
Models and fields (2)
  • sale.order · extends an existing modelinvoice_blocking_reason_id (Blocking for invoicing)
  • invoice.blocking.reason · new modelname (Reason)

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 15.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to:

  • Go to 'Sales \> Configuration \> Sales Orders \> Invoicing block reasons'.
  • Create the different reasons that can lead to block the invoices of a sales order.

To use this module, you need to:

  • Create a new sale order and provide a 'Blocking for invoicing'.
  • When you try to create Regular Invoice if an invoicing blocking reason is set on the sale order. It will show blocking reasons.

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.