OdooWiki OCA HUB

Donation Direct Debit

donation_direct_debit folder_open OCA/donation open_in_new
Accounting License: AGPL-3

With this module, when you validate a donation that has a payment method linked to a SEPA direct debit payment mode:

  • if a draft direct debit order for SEPA direct debit already exists, a new payment line linked to the donation is added to it,
  • otherwise, a new SEPA direct debit order is created and a payment line linked to the donation is added to it.

A message is added in the chatter of the donation with a link to the payment order.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

When a donation paid by SEPA direct debit is validated, Odoo automatically creates or updates a draft direct debit payment order and links the donation to it. A mandate can be required and is auto-filled from the donor's valid mandate.

This module connects donations with SEPA direct debit collection. On the donation form, a new Mandate field appears after the payment mode. If the selected payment mode uses a direct debit method that requires a mandate, the field becomes mandatory and Odoo automatically proposes the donor's valid mandate for the same company.

When you validate a donation whose payment mode is an inbound direct debit mode, Odoo looks for an existing draft direct debit order for the same payment mode and company. If none exists, it creates one; then it adds a payment line for the donation. A message with a link to the payment order is posted in the donation's chatter.

If the payment mode requires a mandate and none is set, validation is blocked with an error. Cancelling a validated donation is also blocked if it is still linked to a payment line in a draft or open direct debit order; you must first remove it from that order.

In the donation settings, a 'Donation by Debit Order Account' can be configured per company. It must be a reconcilable receivable account, otherwise Odoo raises an error. This account is used as the counterpart account for donations paid by direct debit.

Models and fields (3)
  • res.company · extends an existing modeldonation_debit_order_account_id (Donation by Debit Order Account)
  • donation.donation · extends an existing modelmandate_id (Mandate), mandate_required
  • res.config.settings · extends an existing modeldonation_debit_order_account_id

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0

In the menu Invoicing > Configuration > Management > Payment Modes, make sure that you have a payment mode for SEPA Direct Debit that has the donation option active.

On the donor (i.e. partner) form, create a bank account (IBAN) and create a related mandate. Validate the mandate.

Create a new donation for that donor. Select the SEPA direct debit payment mode: a new required field Mandate will appear: select the mandate of the donor. Create the donation line(s).

Validate the donation. In the chatter of the donation, you will see a message about the debit order that has been created or updated with a link to it. You can then click on the link and finalize the debit order.

No verified information in OCA: Installation.

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.