Repository
OCA/bank-payment-alternative · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.15 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/bank-payment-alternative
Last tracking update
2026-08-07 08:42:57
Authors
Akretion, Odoo Community Association (OCA), Dixmit
Maintainers
Akretion, Odoo Community Association (OCA), Dixmit
Committers
Alexis de Lattre, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module is useful when you generate payment/debit orders with several payments and your company's bank groups the debit/credit on a single bank statement line (in fact, one bank statement line per payment lot). This module makes it easier to reconcile payment/debit lots in the bank statement reconcile interface.

In the bank statement reconcile interface, you will see an additional tab **Payment Lots** if the statement line is negative or **Debit Lots** if the statement line is positive. If the bank statement line corresponds to a payment lot, select it in the *Payment Lots* tab and all the counterpart journal items will be automatically set.

![Bank statement reconcile interface](static/description/reconcile_payment_lot.png)

This solution works both when *Outstanding Payments/Receipts Accounts* are configured and when there are no *Outstanding Payment/Receipt Account*.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_payment_lot_reconcile_list account.payment.lot list New
account_payment_lot_reconcile_search account.payment.lot search New
bank_statement_line_form_reconcile_view account.bank.statement.line form Inherits account_reconcile_oca.bank_statement_line_form_reconcile_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • add_payment_lot_id Many2one → account.payment.lot
    check_company=True prefetch=False args: 'account.payment.lot'
Public methods (2)
  • add_multiple_lines(self, domain)
    Method called by the button 'Add all'
  • clean_reconcile(self)
    Remove the counterparts when cleaning

New fields (1)
  • is_matched Boolean
    compute='_compute_matched_info' store=True
Public methods (1)
  • open_form(self)