Skip to Content
Menú
This question has been flagged
1 Respondre
2989 Vistes

how to hide this line from the acount.report_invoice

 <p t-if="o.type in ('out_invoice', 'in_refund')">
                        Please use the following communication for your payment : <b><span t-field="o.invoice_payment_ref"/></b>
                    </p>

i tried this xpath instruction but i can't trigger it, 

<xpath expr="//p[1]" position="replace"> 
 <p></p>
</xpath>

any suggestions ? 

Avatar
Descartar
Best Answer

Hi,

Try this:

<xpath expr="//div[@class='page']/p[1]" position="replace">
</xpath>

Thanks

Avatar
Descartar
Autor

thanks a lot, that was the right instruction

Related Posts Respostes Vistes Activitat
4
de maig 24
13213
1
d’abr. 24
3735
0
de nov. 23
2391
1
de set. 23
2570
2
d’ag. 23
5124