Create mandates for payment orders
account_banking_sepa_direct_debit_mandate_on_the_fly · OCA/bank-payment
-
Security25/25No findings
-
Activity0/25Last human commit 140 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
PaymentOrder— Class 'PaymentOrder' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_payment_order_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv.orm`) (3 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Introduction
When switching to SEPA payments, the mandates to be created can be a serious show stopper. Usually, they are available in one form or the other, but not in OpenERP. This plugin adds a button on payment orders to create mandates for the current payment order where necessary.
Configuration
By default, this module creates one-off mandates. If you rather want to create recurring mandates (i.e. because your available mandates are recurring ones), set the config parameter 'account.banking.sepa.direct.debit.create.mandates' to 'recurrent'.
Attention
Only use this if you actually have the mandates!
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_payment_order_form |
payment.order | form | Inherits account_banking_sepa_direct_debit.sdd_view_payment_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (1)-
button_create_missing_sdd_mandates(self, cr, uid, ids, context=None)