Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3001 Widoki

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 ? 

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Try this:

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

Thanks

Awatar
Odrzuć
Autor

thanks a lot, that was the right instruction

Powiązane posty Odpowiedzi Widoki Czynność
4
maj 24
13242
1
kwi 24
3767
0
lis 23
2444
1
wrz 23
2630
2
sie 23
5165