Skip to Content
Menu
This question has been flagged
3 Replies
3023 Views

I want to edit the template for invoices.

First I have edit the report xml template over settings

Now I'm looking for the xms template for invoices to customize it, but I can not find it in odoo v17?

I thought this should be under addons/sale/report/sale_report_template.xml?

 

Avatar
Discard
Author Best Answer

thx - i have found the file now:

+ I just add a simple "Hello world" to the file and saved it on line 260 (before Payment Communication)

+ When I create an invoice the "Hello World" is not shown?

do i have to click somewhere that the file is live?


Avatar
Discard
Best Answer

Navigate to Settings --> Technical --> Actions --> Reports (in Developer Mode) to see each Report

The main Invoices report has the template name "account.report_invoice_with_payments" which means it is defined in the account module.

You can find the XML at addons/account/views/report_invoice.xml


Avatar
Discard
Best Answer

Hi,

You can find the invoice template in the following path:  /odoo/addons/account/views/report_invoice.xml

name of the template:  report_invoice_document

* To find the template of any report, you can do as follows
* activate the developer mode
* navigate to Reports menu under settings -> technical
* search and open the report
* by clicking the Qweb Views smart button, you can see the templates used



Thanks

Avatar
Discard
Related Posts Replies Views Activity
0
Jan 25
583
1
May 24
1615
3
Feb 24
31976
2
Nov 24
856
0
Jan 24
956