Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3039 Prikazi

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
Opusti
Best Answer

Hi,

Try this:

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

Thanks

Avatar
Opusti
Avtor

thanks a lot, that was the right instruction

Related Posts Odgovori Prikazi Aktivnost
4
maj 24
13393
1
apr. 24
3883
0
nov. 23
2557
1
sep. 23
2728
2
avg. 23
5331