payment. Added post_msg, message displayed after payment. [IMP] payment_transfer: added a default value (generated at create) for post_msg, that contains bank accounts details. bank accounts linked to the current company and used in report footer are shown. [FIX] payment_*: make the buttons noupdate. [IMP] payment: portal_published -> website_published + propagation [IMP] payment: added process selection field that will be used for some control in the website, telling w hether we want to refresh a payment validation page or not. bzr revid: tde@openerp.com-20140124134652-cc0nz08znnlmftw4
24 lines
1.1 KiB
XML
24 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="1">
|
|
|
|
<template id="transfer_acquirer_button">
|
|
<form t-if="acquirer" t-att-action="tx_url" method="post" target="_self">
|
|
<t t-if="tx_values.get('return_url')">
|
|
<input type='hidden' name='return_url' t-att-value='tx_values["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="image" name="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>
|
|
</template>
|
|
|
|
</data>
|
|
</openerp>
|