OdooWiki OCA HUB

Account Invoice Payment Block

account_invoice_block_payment folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: AGPL-3

Block Payment of Invoices

This module allows the user to set invoices payment as blocked. If the user tries to register payment for a blocked invoice, an error will be raised and the user will be notified on which invoice payment was blocked.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Lets you flag an invoice as payment-blocked so that Odoo refuses to register a payment on it and tells you which invoice was blocked.

This module adds a simple switch on invoices and other accounting documents to stop them from being paid.

On the invoice form, a new "payment blocked" checkbox appears next to the payment reference. It is only shown for posted documents that are not yet fully paid (payment state "not paid" or "partially paid") and that are customer invoices, customer credit notes, vendor bills, vendor credit notes, customer receipts or vendor receipts.

When someone tries to register a payment on one or more blocked documents, Odoo stops the action and shows an error listing each blocked invoice by name, so the user immediately knows which document caused the problem. If none of the selected documents is blocked, the normal payment registration continues as usual.

The module only touches the accounting documents model account.move and its form view; it does not add menus, reports or scheduled actions.

Depends on

account
Models and fields (1)
  • account.move · extends an existing modelpayment_blocked

Text generated by AI (DeepSeek) from reading the Odoo 17.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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 17.0

The user can set a flag on each invoice in order to block its payment.

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.