OdooWiki OCA HUB

Account Move Line Auto Reconcile Hook

account_move_line_auto_reconcile_hook folder_open OCA/account-payment open_in_new
Account-payment License: AGPL-3

This module adds a hook to the function auto_reconcile_lines in account move line model.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds extension points to the automatic reconciliation of journal items, letting other modules change how debit and credit lines are matched and how much is reconciled.

This module does not add any new screen or menu. It changes the internal behaviour of the automatic reconciliation of journal items in the Accounting app.

When Odoo automatically matches debit and credit journal items (for example when you use the reconcile action on an account), this module replaces the standard matching routine with an extended version that calls three new extension points on account.move.line:

  • update_amount_reconcile: lets another module adjust the residual amounts and the amount to reconcile before the match is created.
  • _check_remove_debit_move: decides whether a debit line is fully matched and can be removed from the list of lines still to reconcile.
  • _check_remove_credit_move: same decision for credit lines.

By default these methods keep the standard behaviour, so installing the module alone does not change results. It is a technical foundation for other modules that need custom reconciliation rules, such as partial matching or special amount handling.

The module also keeps the original reconciliation method available and applies the change when Odoo loads, so the standard reconciliation, cash-basis entries and partial reconciliations continue to work as before.

Depends on

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

Text generated by AI (DeepSeek) from reading the Odoo 12.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 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/account-payment.

terminal Installation and usage

No verified information

Installation 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.

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.