I created a module to customize pos receipt template. But when other module is installed after my module which also changes the same thing i change my changes get override. I want to know if there is an attribute that i can add so my module would load last. I tried using priority="100" but that didnt work.
?xml version="1.0" encoding="UTF-8"?>
templates id="template" xml:space="preserve">
t t-name="pos_receipt.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" priority="1" t- inherit-mode="extension">
xpath expr="//p[@t-if='props.data.isRestaurant']" position="replace">
p t-if="props.data.isRestaurant">
/xpath>
xpath expr="//p[@t-else='']" position="replace">
p t-else="">
/xpath>
/t>
t t-name="pos_receipt.ReceiptHeader" t-inherit="point_of_sale.ReceiptHeader" t-inherit- mode="extension">
xpath expr="//img" position="replace">
img/>
/xpath>
/t>
/templates>