diff options
| author | Johan Demaret Rivarola <jde@odoo.com> | 2019-07-11 15:31:19 +0000 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2019-08-16 15:52:39 +0000 |
| commit | e01d559f9d558ac0a2600cc18efbd011efd26114 (patch) | |
| tree | ac9895353a549c16d1d4fd645da4ab3be3e164d3 /addons/payment/data/payment_acquirer_data.xml | |
| parent | d72117dcd072105ea10552c70a4b423cc6575a3c (diff) | |
[IMP] payment: support SEPA Direct Debit acquirer
The purpose of this commit is to expose SEPA Direct Debit acquirer to
the Odoo community edition. The dedicated module, though, is restricted
to the enterprise edition.
Minor changes in following modules:
- base: added ir.module.module record
- payment:
- added data to expose the new payment acquirer.
- added 'to_buy' field to track whether the payment acquirer is
restricted to enterprise users.
- allow multi word payment acquirer name. It was breaking on the first
underscore.
task-1870363
closes odoo/odoo#26427
Diffstat (limited to 'addons/payment/data/payment_acquirer_data.xml')
| -rw-r--r-- | addons/payment/data/payment_acquirer_data.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/payment/data/payment_acquirer_data.xml b/addons/payment/data/payment_acquirer_data.xml index 233baf64501..f956de72633 100644 --- a/addons/payment/data/payment_acquirer_data.xml +++ b/addons/payment/data/payment_acquirer_data.xml @@ -279,4 +279,17 @@ <!-- https://intl.alipay.com/ihome/home/about/buy.htm?topic=paymentMethods --> <field name="payment_icon_ids" eval='[(6, 0, [ref("payment.payment_icon_cc_jcb"),ref("payment.payment_icon_cc_mastercard"),ref("payment.payment_icon_cc_western_union"),ref("payment.payment_icon_cc_webmoney"),ref("payment.payment_icon_cc_visa")])]'/> </record> + + <record id="payment.payment_acquirer_sepa_direct_debit" model="payment.acquirer"> + <field name="name">SEPA Direct Debit</field> + <field name="view_template_id" ref="default_acquirer_button"/> + <field name="image_128" type="base64" file="base/static/img/icons/payment_sepa_direct_debit.png"/> + <field name="module_id" ref="base.module_payment_sepa_direct_debit"/> + <field name="description" type="html"> + <p> + SEPA Direct Debit is a Europe-wide Direct Debit system that allows merchants to collect Euro-denominated payments from accounts in the 34 SEPA countries and associated territories. + </p> + </field> + </record> + </odoo> |
