I live in Argentina.
I need to print invoices with the title "FACTURA," and so far, my invoices are printing with "INVOICE" in the top side.
Any idea?
thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I live in Argentina.
I need to print invoices with the title "FACTURA," and so far, my invoices are printing with "INVOICE" in the top side.
Any idea?
thanks!
Hi, we have to inherit the corresponding report template to change the title.
You can use the following code to change the title of the invoice report from 'Invoice' to 'FACTURA'.
<template id="custom_report_invoice_document"
inherit_id="account.report_invoice_document">
<xpath expr="t[@t-call='web.external_layout']" position="replace">
<t t-call="web.html_container">
<div class="mt-5 clearfix">
<div class="page mb-4">
<h2>
<h1 t-if="o.move_type == 'out_invoice' and o.state == 'posted'"
style="font-size: 40px; text-align: center; margin-bottom:2px; font-weight: bold;">
FACTURA
</h1>
</h2>
</div>
</div>
</t>
</xpath>
</template>
Hope it helps
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
may 22
|
3306 | ||
change between 2 Invoice formats
Resuelto
|
|
1
jul 25
|
519 | |
|
2
jul 25
|
669 | ||
|
1
jul 25
|
1732 | ||
|
3
abr 25
|
1753 |