Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
982 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ