Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1026 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง