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.
 
 
 
 
 

17 lines
770 B

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- If upfront payment is enabled proceed to payment button is shown -->
<template id="appointment_form" inherit_id="appointment.appointment_form">
<xpath expr="//button[hasclass('btn-primary')]" position="replace">
<button t-if="appointment_type.has_payment_step and appointment_type.product_id.lst_price"
type="submit"
class="btn btn-primary o_appointment_form_confirm_btn">
Proceed to Payment
</button>
<button t-else="" type="submit"
class="btn btn-primary o_appointment_form_confirm_btn">
Confirm Appointment
</button>
</xpath>
</template>
</odoo>