You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.4 KiB
25 lines
1.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<template id="subscription_payment_type" inherit_id="easy_my_coop.becomecooperator" name="Removing fields">
|
|
<xpath expr="//div[@name='share_div']" position="after">
|
|
<div t-attf-class="form-group #{error and 'payment_type' in error and 'has-error' or ''}">
|
|
<label class="col-md-3 col-sm-4 control-label" for="company_type">Payment type</label>
|
|
<select name="payment_type" class="col-md-7 col-sm-8 form-control" required="True" style="width:54%;margin-left:15px">
|
|
<option value=""></option>
|
|
<t t-foreach="payment_types or []" t-as="pay_type">
|
|
<option t-att-value="pay_type[0]" t-att-selected="pay_type[0] == payment_type"><t t-esc="pay_type[1]"/></option>
|
|
</t>
|
|
</select>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="easy_my_coop_online_payment.SubscriptionOnlinePayment" name="Subscription Online Payment" page="True">
|
|
<a t-if="invoice.state == 'open'" t-attf-href="/website_payment/pay?reference=#{invoice.number}&amount=#{invoice.residual}&currency_id=#{invoice.currency_id.id}&acquirer_id=#{acquirer_id}&country_id=#{invoice.partner_id.country_id.id}" alt="Pay Now" class="btn btn-xs btn-primary"><i class="fa fa-arrow-circle-right"/> Pay Now</a>
|
|
</template>
|
|
</data>
|
|
</odoo>
|
|
|
|
|
|
|