diff options
| author | tbe-odoo <tbe@odoo.com> | 2017-08-29 09:50:08 +0200 |
|---|---|---|
| committer | tbe-odoo <tbe@odoo.com> | 2017-08-29 17:16:42 +0200 |
| commit | bb96c73da0b6de09b2ac7aa2d1afebf55aeccfda (patch) | |
| tree | 648a0422d0aedfdbab62c898c78d81e499c0be46 /addons/payment | |
| parent | ea8b1890296997d67614c4df78cbda0a20394a0d (diff) | |
[IMP] payment: Removed transfer button & fixed custom payment
Diffstat (limited to 'addons/payment')
| -rw-r--r-- | addons/payment/data/payment_acquirer_data.xml | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/addons/payment/data/payment_acquirer_data.xml b/addons/payment/data/payment_acquirer_data.xml index 420afecbb35..cba3b516a0d 100644 --- a/addons/payment/data/payment_acquirer_data.xml +++ b/addons/payment/data/payment_acquirer_data.xml @@ -2,20 +2,14 @@ <odoo noupdate="1"> <template id="default_acquirer_button"> - <form t-if="acquirer" t-att-action="tx_url" method="post" target="_self"> - <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/> - <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"/> - <!-- submit --> - <button type="submit" width="100px" t-att-class="submit_class"> - <img t-if="not submit_txt" src="/payment_transfer/static/src/img/transfer_icon.png"/> - <span t-if="submit_txt"><t t-esc="submit_txt"/> <span class="fa fa-long-arrow-right"/></span> - </button> - </form> + <input type="hidden" name="data_set" t-att-data-action-url="tx_url"/> + <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/> + <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> <record id="payment_acquirer_buckaroo" model="payment.acquirer"> |
