Account Banking - Payments Transfer Account

account_banking_payment_transfer
REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/8.0/account_banking_payment_transfer
VERSION
VERSION 0.3.1
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Banking addons community
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Banking addons community
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Yannick Vaucher, Alexandre Fayolle, Holger Brunn, Pedro M. Baeza, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Danimar Ribeiro, Adrien Peiffer (ACSONE), Rod Schouteden, oca-travis, Roberto Lizana, Weblate, Matt Choplin, Philippe Schmidt
WEBSITE
WEBSITEhttps://github.com/OCA/banking
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_banking_payment_export
odoo/odoo:
    - account_payment
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - account_voucher
    - base_iban
    - document
    - knowledge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_payment_mode_form_inherit payment.mode.form.inherit payment.mode xpath Inherits account_banking_payment_export.view_payment_mode_form_inherit
view_payment_order_form_inherit account.payment.order.form (account_banking_payment_transfer) payment.order xpath Inherits account_banking_payment_export.view_payment_order_form
view_payment_order_tree account_banking_payment_transfer.payment.order.tree payment.order field Inherits account_banking_payment_export.view_payment_order_tree
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self)
    @api.multi
    Workflow triggers upon unreconcile. This should go into the core.

New fields (2)
  • transfer_move_line_id Many2one → account.move.line
    compute='_get_transfer_move_line' help='Counterpart move line on the transfer account' store=True string='Transfer move line counterpart' args: 'account.move.line'
  • transit_move_line_id Many2one → account.move.line
    help='Move line through which the payment/debit order pays the invoice' readonly=True string='Transfer move line' args: 'account.move.line'
Public methods (2)
  • debit_reconcile(self)
    @api.one
    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 partial reconciliations into account though. :param payment_line_id: the single id of the canceled payment line
  • move_line_transfer_account_hashcode(self)
    @api.multi
    This method is inherited in the module account_banking_sepa_direct_debit

New fields (2)
  • date_done Date
    readonly=True select=True args: 'Date Confirmed'
  • msg Char
    default='' readonly=True required=False args: 'Message'
Public methods (1)
  • payment_line_hashcode(self)
    @api.multi
    Don't group the payment lines that are attached to the same supplier but to move lines with different accounts (very unlikely), for easier generation/comprehension of the transfer move

New fields (3)
  • transfer_account_id Many2one → account.account
    domain=[('type', '!=', 'view'), ('reconcile', '=', True)] help='Pay off lines in sent orders with a move on this account. You can only select accounts of type regular that are marked for reconciliation' string='Transfer account' args: 'account.account'
  • transfer_journal_id Many2one → account.journal
    help='Journal to write payment entries when confirming a debit order of this mode' string='Transfer journal' args: 'account.journal'
  • transfer_move_option Selection
    default='date' string='Transfer move option' args: [('date', 'One move per payment date'), ('line', 'One move per payment line')]
Public methods (0)

No public methods.

New fields (9)
  • date_prefered Selection
    states={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]}
  • date_scheduled Date
    states={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]}
  • date_sent Date
    readonly=True string='Send date'
  • line_ids One2many
    states={'open': [('readonly', True)], 'cancel': [('readonly', True)], 'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]}
  • mode Many2one
    states={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]}
  • partial_reconcile_count Integer
    compute='get_partial_reconcile_count' string='Partial Reconciles Counter'
  • reference Char
    states={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]}
  • state Selection
    selection_add=[('sent', 'Sent'), ('rejected', 'Rejected')] string='State'
  • user_id Many2one
    states={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]}
Public methods (10)
  • action_done(self)
    @api.multi
  • action_rejected(self)
    @api.multi
  • action_sent(self)
    @api.one
    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, pay_line)
    @api.multi
    This function is designed to be inherited
  • get_partial_reconcile_count(self)
    @api.one
  • get_partial_reconcile_ids(self)
    @api.multi
  • get_transfer_move_line_ids(self, *args)
    @api.multi
    Used in the workflow for trigger_expr_id
  • partial(self)
    @api.multi
  • test_done(self)
    @api.multi
    Test if all moves on the transfer account are reconciled. Called from the workflow to move to the done state when all transfer move have been reconciled through bank statements.
  • test_undo_done(self)
    @api.multi