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

Hello, my question is : How to change the word "Invoice" to "Note" in Odoo 15

Example: Invoice INV/2020/07/0003 -> Note INV/2020/07/0003

And thank you.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,


Please refer to the below code if you want to change the word 'Invoice' to 'Note' on the invoice report .


<template id="report_invoice_document_extend" inherit_id="account.report_invoice_document">



    <xpath expr="//div[1]/h2/span[1]" position="replace">


        <span t-if="o.move_type == 'out_invoice' and o.state == 'posted'">Note</span>


    </xpath>



</template>



Hope it helps

Imagine profil
Abandonează