Direct Debit

account_direct_debit
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_direct_debit
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV, Smile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV, Smile
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Alexandre Fayolle, Stefan Rijnhart, Holger Brunn, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, Danimar Ribeiro, oca-travis, Weblate, AngelMoya-Domatix, Philippe Schmidt
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
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 (4)
XML IDNameModelTypeStatus
view_payment_mode_form_inherit payment.mode.form.inherit payment.mode field Inherits account_banking_payment_export.view_payment_mode_form_inherit
view_payment_mode_type_form_inherit view.payment.mode.type.form payment.mode.type field Inherits account_banking_payment_export.view_payment_mode_type_form
view_payment_mode_type_tree view.payment.mode.type.tree payment.mode.type field Inherits account_banking_payment_export.view_payment_mode_type_tree
view_payment_order_form direct.debit.payment.order.form payment.order button Inherits account_banking_payment_export.view_payment_order_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • line2bank(self, cr, uid, ids, payment_type=None, context=None)
    I have to inherit this function for direct debits to fix the following issue : if the customer invoice has a value for 'partner_bank_id', then it will take this partner_bank_id in the payment line... but, on a customer invoice, the partner_bank_id is the bank account of the company, not the bank account of the customer !

New fields (1)
  • bank_id Many2one
    string='Partner Bank Account'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • extend_payment_order_domain(self, payment_order, domain)
    @api.multi
REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/7.0/account_direct_debit
VERSION
VERSION 2.134
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV, Smile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV, Smile
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Yannick Vaucher, Alexandre Fayolle, Stefan Rijnhart, Sandy Carter, Holger Brunn, Pedro M. Baeza, EL HADJI DEM, Launchpad Translations on behalf of banking-addons-team, OCA Transbot, Loïc Faure-Lacroix
WEBSITE
WEBSITEhttps://launchpad.net/banking-addons
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_banking_payment_export
odoo/odoo:
    - account_payment
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - account_voucher
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds support for direct debit orders, analogous to payment orders.
A new entry in the Accounting/Payment menu allow you to create a direct debit
order that helps you to select any customer invoices for you to collect.

This module explicitely implements direct debit orders as applicable
in the Netherlands. Debit orders are advanced in total by the bank.
Amounts that cannot be debited or are canceled by account owners are
credited afterwards. Such a creditation is called a storno. This style of
direct debit order may not apply to your country.

This module depends on and is part of the banking addons for OpenERP. This set
of modules helps you to provide support for communications with your local
banking institutions. The banking addons are a continuation of Account Banking
Framework by Edusense BV. See https://launchpad.net/banking-addons.
    

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice data Inherits account.invoice_form
view_account_invoice_filter account.invoice.select direct debit account.invoice filter Inherits account.view_account_invoice_filter
view_payment_line_tree Payment Lines payment.line field Inherits account_payment.view_payment_line_tree
view_payment_mode_form_inherit payment.mode.form.inherit payment.mode field Inherits account_banking_payment_export.view_payment_mode_form_inherit
view_payment_mode_type_form_inherit view.payment.mode.type.form payment.mode.type field Inherits account_banking_payment_export.view_payment_mode_type_form
view_payment_order_form payment.order.form payment.order data Inherits account_payment.view_payment_order_form
Models touched (5)

New fields (0)

No new fields.

Public methods (2)
  • action_debit_denied(self, cr, uid, ids, context=None)
  • test_undo_debit_denied(self, cr, uid, ids, context=None)
    Called from the workflow. Used to unset paid state on invoices that were paid with bank transfers which are being cancelled

New fields (0)

No new fields.

Public methods (2)
  • amount_to_receive(self, cr, uid, ids, name, arg=None, context=None)
    Return the amount still to receive regarding all the debit orders (excepting canceled orders). This is the reverse from amount_to_pay() in account_payment/account_move_line.py
  • line2bank(self, cr, uid, ids, payment_mode_id, context=None)
    I have to inherit this function for direct debits to fix the following issue : if the customer invoice has a value for 'partner_bank_id', then it will take this partner_bank_id in the payment line... but, on a customer invoice, the partner_bank_id is the bank account of the company, not the bank account of the customer !

New fields (0)

No new fields.

Public methods (3)
  • debit_reconcile(self, cr, uid, payment_line_id, context=None)
    Raise if a payment line is passed for which storno is True
  • debit_storno(self, cr, uid, payment_line_id, amount, currency, storno_retry=True, context=None)
    The processing of a storno is triggered by a debit transfer on one of the company's bank accounts. This method offers to re-reconcile the original debit payment. For this purpose, we have registered that payment move on the payment line. Return the (now incomplete) reconcile id. The caller MUST re-reconcile this reconcile with the bank transfer and re-open the associated invoice. :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* :param boolean storno_retry: when True, attempt to reopen the invoice, set the invoice to 'Debit denied' otherwise. :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, context=None)
    Check the match of the arguments, and 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 (1)
  • 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

New fields (0)

No new fields.

Public methods (1)
  • extend_payment_order_domain(self, cr, uid, payment_order, domain, context=None)
REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/6.1/account_direct_debit
VERSION
VERSION 1.134
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV / Smile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV / Smile
COMMITTERS
COMMITTERSGuewen Baconnier, Alexandre Fayolle, Stefan Rijnhart, Holger Brunn, OpenERP instance user
WEBSITE
WEBSITEhttps://launchpad.net/banking-addons
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_banking
    - account_iban_preserve_domestic
    - account_banking_payment_export
odoo/odoo:
    - base
    - account
    - base_setup
    - product
    - process
    - decimal_precision
    - analytic
    - board
    - edi
    - email_template
    - mail
    - base_tools
    - base_iban
    - account_payment
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES BeautifulSoup
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds support for direct debit orders, analogous to payment orders.
A new entry in the Accounting/Payment menu allow you to create a direct debit
order that helps you to select any customer invoices for you to collect.

This module explicitely implements direct debit orders as applicable
in the Netherlands. Debit orders are advanced in total by the bank.
Amounts that cannot be debited or are canceled by account owners are
credited afterwards. Such a creditation is called a storno. This style of
direct debit order may not apply to your country.

This module depends on and is part of the banking addons for OpenERP. This set
of modules helps you to provide support for communications with your local
banking institutions. The banking addons are a continuation of Account Banking
Framework by Edusense BV. See https://launchpad.net/banking-addons.
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice data Inherits account.invoice_form
view_account_invoice_filter account.invoice.select direct debit account.invoice filter Inherits account.view_account_invoice_filter
view_payment_line_tree Payment Lines payment.line field Inherits account_payment.view_payment_line_tree
view_payment_mode_form payment.mode.form add transfer account payment.mode field Inherits account_banking_payment_export.view_payment_mode_form_inherit
view_payment_order_form payment.order.form payment.order data Inherits account_payment.view_payment_order_form
Models touched (0)

No models found for this module.