TIP: You can type at any time to perform a new search.
Account Banking - Payments
account_banking_payment · OCA/bank-payment
- Repository
- OCA/bank-payment · module folder · Try on Runboat
- Module version
- 0.1.164
- Category
- Banking addons
- Folder size
- 0.27 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://launchpad.net/banking-addons
- Last tracking update
- 2026-08-07 06:56:13
- Authors
- Odoo Community Association (OCA), Banking addons community
- Maintainers
- Odoo Community Association (OCA), Banking addons community
- Committers
- Stefan Rijnhart, Yannick Vaucher, Raphaël Valyi, Alexis de Lattre, Stéphane Bidoul, Guewen Baconnier, Alexandre Fayolle, Sandy Carter, Holger Brunn, Pedro M. Baeza, Erwin van der Ploeg, Ruchir Shukla, Launchpad Translations on behalf of banking-addons-team, OCA Transbot
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_banking_nl_clieop, account_banking_tests, account_banking_uk_hsbc
- Description
This addon adds payment reconciliation infrastructure to the Banking Addons. * Extends payments for digital banking: + Adapted workflow in payments to reflect banking operations + Relies on account_payment mechanics to extend with export generators. - ClieOp3 (NL) payment and direct debit orders files available as account_banking_nl_clieop
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
transaction_wizard |
transaction.wizard | banking.transaction.wizard | Inherits account_banking.transaction_wizard_first | |
view_banking_payment_order_form_1 |
account.payment.order.form.banking-1 | payment.order | form | Inherits account_payment.view_payment_order_form |
view_payment_mode_form_inherit |
payment.mode.form.inherit | payment.mode | form | Inherits account_banking_payment_export.view_payment_mode_form_inherit |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (3)-
clear_and_write(self, cr, uid, ids, vals=None, context=None) -
hook_match_payment(self, cr, uid, transaction, log, context=None)Called from match() in the core module. Match payment batches, direct debit orders and stornos -
move_info2values(self, move_info)
New fields (0)
No new fields.
Public methods (1)-
write(self, cr, uid, ids, vals, context=None)Check for manual payment orders or lines
New fields (0)
No new fields.
Public methods (3)-
debit_reconcile(self, cr, uid, payment_line_id, context=None)Reconcile a debit order's payment line with the the move line that it is based on. Called from payment_order.action_sent(). As the amount is derived directly from the counterpart move line, we do not expect a write off. Take partially reconcilions into account though. :param payment_line_id: the single id of the canceled payment line -
debit_storno(self, cr, uid, payment_line_id, amount, currency_id, storno_retry=True, context=None)Hook for handling a canceled item of a direct debit order. Presumably called from a bank statement import routine. Decide on the direction that the invoice's workflow needs to take. You may optionally return an incomplete reconcile for the caller to reconcile the now void payment. :param payment_line_id: the single payment line id :param amount: the (negative) amount debited from the bank account :param currency: the bank account's currency *browse object* :param boolean storno_retry: whether the storno is considered fatal or not. :return: an incomplete reconcile for the caller to fill :rtype: database id of an account.move.reconcile resource. -
get_storno_account_id(self, cr, uid, payment_line_id, amount, currency_id, context=None)Hook for verifying a match of the payment line with the amount. Return the account associated with the storno. Used in account_banking interactive mode :param payment_line_id: the single payment line id :param amount: the (signed) amount debited from the bank account :param currency: the bank account's currency *browse object* :return: an account if there is a full match, False otherwise :rtype: database id of an account.account resource.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (7)-
action_rejected(self, cr, uid, ids, *args)Set both self and payment lines to state 'rejected'. -
action_sent(self, cr, uid, ids, context=None)Create the moves that pay off the move lines from the debit order. This happens when the debit order file is generated. -
action_sent_no_move_line_hook(self, cr, uid, pay_line, context=None)This function is designed to be inherited -
debit_reconcile_transfer(self, cr, uid, payment_order_id, amount, currency, context=None)During import of bank statements, create the reconcile on the transfer account containing all the open move lines on the transfer account. -
debit_unreconcile_transfer(self, cr, uid, payment_order_id, reconcile_id, amount, currency, context=None)Due to a cancelled bank statements import, unreconcile the move on the transfer account. Delegate the conditions to the workflow. Raise on failure for rollback. Workflow appears to return False even on success so we just check the order's state that we know to be set to 'sent' in that case. -
set_done(self, cr, uid, ids, *args)Extend standard transition to update children as well. -
test_undo_done(self, cr, uid, ids, context=None)Called from the workflow. Used to unset done state on payment orders that were reconciled with bank transfers which are being cancelled. Test if the payment order has not been reconciled. Depends on the restriction that transit move lines should use an account of type 'other', and on the restriction of payment and debit orders that they only take moves on accounts payable/receivable.
New fields (0)
No new fields.
Public methods (1)-
extend_payment_order_domain(self, cr, uid, payment_order, domain, context=None)