Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
4030 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 25
1025
1
may 24
2435
3
feb 24
33841
2
nov 24
1420
0
ene 24
1457