Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3049 Vizualizări

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 ? 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Try this:

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

Thanks

Imagine profil
Abandonează
Autor

thanks a lot, that was the right instruction

Related Posts Răspunsuri Vizualizări Activitate
4
mai 24
13429
1
apr. 24
3913
0
nov. 23
2579
1
sept. 23
2749
2
aug. 23
5362