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

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.

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona