The default Invoice name that is printing on the PDF is of the format:
INV/2020/1208 for example. I'm trying to get rid of the 2020, I'm looking to just achieve INV/1208 as the heading.
The code for this section in the Odoo account.report_invoice_document is as follows:
<h2>
<span t-if="o.type == 'out_invoice' and o.state == 'posted'">Invoice</span>
<span t-if="o.type == 'out_invoice' and o.state == 'draft'">Draft Invoice</span>
<span t-if="o.type == 'out_invoice' and o.state == 'cancel'">Cancelled Invoice</span>
<span t-if="o.type == 'out_refund'">Credit Note</span>
<span t-if="o.type == 'in_refund'">Vendor Credit Note</span>
<span t-if="o.type == 'in_invoice'">Vendor Bill</span>
<span t-if="o.name != '/'" t-field="o.name"/>
</h2>
What is the best and efficient solution to achieve this?
Thank you for your time.