Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3059 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

Try this:

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

Thanks

Avatar
Abbandona
Autore

thanks a lot, that was the right instruction

Post correlati Risposte Visualizzazioni Attività
4
mag 24
13469
1
apr 24
3929
0
nov 23
2605
1
set 23
2762
2
ago 23
5381