diff options
| author | tbe-odoo <tbe@odoo.com> | 2017-08-18 13:25:16 +0200 |
|---|---|---|
| committer | tbe-odoo <tbe@odoo.com> | 2017-08-29 17:11:23 +0200 |
| commit | 80edbe5dff569683aeb3ca8d92d80221d2c8e977 (patch) | |
| tree | c42764963191fa5c9517e735d5b0566bebd67041 /addons/payment/data/payment_option_data.xml | |
| parent | 64ae5e2bc32eb99b6a6b470a9aed3803a8ecda0f (diff) | |
[ADD] payment: Added data for payment options
- Added the most used payment option (credit cards) in the world and assigned which payment acquirers can use them.
- Added the form templates for each payment acquirer.
Diffstat (limited to 'addons/payment/data/payment_option_data.xml')
| -rw-r--r-- | addons/payment/data/payment_option_data.xml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/addons/payment/data/payment_option_data.xml b/addons/payment/data/payment_option_data.xml new file mode 100644 index 00000000000..49d351ddc83 --- /dev/null +++ b/addons/payment/data/payment_option_data.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <record id="payment_option_cc_visa" model="payment.option"> + <field name="name">VISA</field> + <field name="image" type="base64" file="payment/static/img/visa.png"/> + </record> + + <record id="payment_option_cc_american_express" model="payment.option"> + <field name="name">American Express</field> + <field name="image" type="base64" file="payment/static/img/american_express.png"/> + </record> + + <record id="payment_option_cc_cirrus" model="payment.option"> + <field name="name">Cirrus</field> + <field name="image" type="base64" file="payment/static/img/cirrus.png"/> + </record> + + <record id="payment_option_cc_diners_club_intl" model="payment.option"> + <field name="name">Diners Club International</field> + <field name="image" type="base64" file="payment/static/img/diners_club_intl.png"/> + </record> + + <record id="payment_option_cc_diners_club_intl" model="payment.option"> + <field name="name">Diners Club International</field> + <field name="image" type="base64" file="payment/static/img/diners_club_intl.png"/> + </record> + + <record id="payment_option_cc_discover" model="payment.option"> + <field name="name">Discover</field> + <field name="image" type="base64" file="payment/static/img/discover.png"/> + </record> + + <record id="payment_option_cc_jcb" model="payment.option"> + <field name="name">JCB</field> + <field name="image" type="base64" file="payment/static/img/jcb.png"/> + </record> + + <record id="payment_option_cc_maestro" model="payment.option"> + <field name="name">Maestro</field> + <field name="image" type="base64" file="payment/static/img/maestro.png"/> + </record> + + <record id="payment_option_cc_mastercard" model="payment.option"> + <field name="name">MasterCard</field> + <field name="image" type="base64" file="payment/static/img/mastercard.png"/> + </record> + + <record id="payment_option_cc_unionpay" model="payment.option"> + <field name="name">UnionPay</field> + <field name="image" type="base64" file="payment/static/img/unionpay.png"/> + </record> + + <record id="payment_option_cc_bancontact" model="payment.option"> + <field name="name">Bancontact</field> + <field name="image" type="base64" file="payment/static/img/bancontact.png"/> + </record> +</odoo>
\ No newline at end of file |
