I am trying to show the change date in a task. To do this, I need to inherit the widget template "mail_thread". This template does not have an identifier in its definition. It's him:
<?xml version="1.0" encoding="UTF-8"?> <template> <t t-name="mail.Root"> <div class="oe_mail"> </div> </t> ... <span t-att-title="widget.date"> <t t-if="widget.timerelative" t-esc="widget.timerelative"/> <t t-if="!widget.timerelative" t-raw="widget.display_date"/> </span> ... </template>
In my module, I need to replace the <span> tag to show the date.
So how to inherit this template and replace the tag?
Breba source share