summaryrefslogtreecommitdiff
path: root/addons/payment_transfer/views
diff options
context:
space:
mode:
authortbe-odoo <tbe@odoo.com>2017-08-18 13:25:16 +0200
committertbe-odoo <tbe@odoo.com>2017-08-29 17:11:23 +0200
commit80edbe5dff569683aeb3ca8d92d80221d2c8e977 (patch)
treec42764963191fa5c9517e735d5b0566bebd67041 /addons/payment_transfer/views
parent64ae5e2bc32eb99b6a6b470a9aed3803a8ecda0f (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_transfer/views')
-rw-r--r--addons/payment_transfer/views/payment_transfer_templates.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/payment_transfer/views/payment_transfer_templates.xml b/addons/payment_transfer/views/payment_transfer_templates.xml
index 0716d99c349..52d311d9eb4 100644
--- a/addons/payment_transfer/views/payment_transfer_templates.xml
+++ b/addons/payment_transfer/views/payment_transfer_templates.xml
@@ -19,5 +19,13 @@
</form>
</template>
+ <template id="transfer_form">
+ <t t-if="return_url">
+ <input type='hidden' name='return_url' t-att-value='return_url'/>
+ </t>
+ <input type='hidden' name='reference' t-att-value='reference'/>
+ <input type='hidden' name='amount' t-att-value='amount'/>
+ <input type='hidden' name='currency' t-att-value='currency.name'/>
+ </template>
</data>
</odoo>