Hello everyone, i am trying to make some modification in odoo POS and when i try to run the code I'm getting an error. The error is pointing to an xml file that i just added and I will paste below, any expert to help?
Error: AssertionError: Document does not comply with schema
here is my XML
(Check first comment for the code)
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="pos_button.PaymentScreenButtons"
t-inherit="point_of_sale.PaymentScreenButtons"
t-inherit-mode="extension">
<xpath expr="//div[contains(@class, 'payment-buttons')]" position="inside">
<button class="button button-partial-payment btn btn-light py-3 text-start rounded-0 border-bottom"
t-on-click="createAndPrintInvoice">
<i class="fa fa-money me-2"/>Custom Button
</button>
</xpath>
</t>
</templates>