Hi, new to Odoo I have made a template in custom XML
my_addon/static/src/eg.xml
< templates id = "template" xml : space = "preserve" >
< t t-name = "Chrome" >
< div class = "pos" >
< div class = "pos-topheader" >
< div class = "pos- branding " >
< img class =" pos-logo " src =" / point_of_sale / static / src / img / logo.png " />
<span class = "placeholder-UsernameWidget" > </ span >
</ div >
< div class = "pos-rightheader" >
< span class = "placeholder-OrderSelectorWidget" > </ span >
<! - here goes header buttons ->
</ div > </ div > </templates>
What I was trying to do is inherit it in another custom module.I have tried the below code
< template id = "jfm_mod_receipt" name = "jfm_mod_receipt check" inherit_id = "point_of_sale.template" >but it is showing error ParseError: "External ID not found in the system: point_of_sale.template" while parsing None:4, near <data name="jfm_mod_receipt check" inherit_id="point_of_sale.template"> <xpath expr="//div[@class='pos-sale-ticket']" position="after"> <div class="pos-center-align"><t t-esc="moment().format('L LT')"/></div> </xpath> </data> Kindly someone help me out
< xpath expr = "// div [@ class = 'pos-sale-ticket']" position = "after" >
< div class = "pos-center-align" > < t t-esc = "moment (). format ('L LT')" /> </ div >
</ xpath >
</ template >