I have used this piece of Code to hide the reference in the brackets [] in the qweb report layout:
<td>
<span t-esc="l.name[l.name.find('] ')+2:]"/>
</td>
I have used this piece of Code to hide the reference in the brackets [] in the qweb report layout:
<td>
<span t-esc="l.name[l.name.find('] ')+2:]"/>
</td>
for future users,
and thanks to @Alex Lyngsoe,
go to settings->technical->actions->reports
search for quotation/order report and click the Qweb views action button
go to the report_saleorder_document view and search for the <td name="td_name"></td> line
edit the line to this <td name="td_name"><span t-esc="line.name[line.name.find('] ')+2:]"/></td>
this should fully hide your internal reference for sales orders/quotations
how to do the same in Odoo v18.2?
Want to remove For quote/SO/delivery/invoice