I need to create module, which alters template for receipt from point_of_sale module. In documentation it is said that in order to do so one needs just:
<t t-extend="base.template"> <t t-jquery="ul" t-operation="append"> <li>new element</li> </t> </t>
I created module and added file in static/src/xml folder, where written following:
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="point_of_sale.XmlReceipt">
<t t-jquery="div.orderlines" t-operation="append">
<h2>Hello world!</h2>
</t>
</t></templates>
But receipt template remains the same. Am I missing something?