hello everyone,
I was trying to make some changes in my xml custom template
where if checkbox is checked then show the select tag
it would be really great if you could help me in it
xml:
<t t-if="contract.partner_id.payment_token_ids">
Do you want to enable auto pay? <input type="checkbox"/>
<div class="col-md-5 col-sm-5">
<select class="form-control" id="check_id" name="select_card">
<t t-foreach="contract.partner_id.payment_token_ids" t-as="card">
<option id="show_cards" t-att-value="card[0]"><t t-esc="card[0].name"/></option>
</t>
</select>
</div>
</t>