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.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="pos_partial_payment_odoo.PaymentScreenButtons"
t-inherit="point_of_sale.PaymentScreenButtons"
t-inherit-mode="extension">
<xpath expr="//button[hasclass('js_invoice')]" position="after">
<t t-if="pos.config.partial_payment">
<button class="button btn btn-light py-3 text-start rounded-0 border-bottom"
t-ref="PartialPaymentButton"
t-on-click="PartialPaymentButton"
t-att-class="{ 'highlight text-bg-primary': currentOrder.partial_payment }">
<i class="fa fa-file-text-o me-2"/>
Partial Payment
</button>
</t>
</xpath>
</t>
<t t-name="pos_partial_payment_odoo.PaymentScreenValidate"
t-inherit="point_of_sale.PaymentScreenValidate"
t-inherit-mode="extension">
<xpath expr="//div[hasclass('validation')]" position="attributes">
<attribute name="t-ref">PartialPayment</attribute>
</xpath>
</t>
</templates>