From 03ae5e757aca0ce844a3c5118ec8d9e520902834 Mon Sep 17 00:00:00 2001 From: baje-odoo Date: Fri, 11 Jul 2025 12:11:29 +0200 Subject: [PATCH] [IMP] l10n_cl: enable copy invoice report with legal acknowledgment footer Purpose ------- Support Chilean legal requirements by allowing companies to print a copy of the invoice including an acknowledgment of receipt section. Changes ------- - Added a new report action limited to Chilean companies. - Reused the standard invoice layout with a conditional footer for copies. - Footer includes informationals fields (RUT, Recinto,...) and legal disclaimer. Task-4908875 --- addons/account/views/account_report.xml | 12 +++++++++ addons/l10n_cl/__manifest__.py | 1 + addons/l10n_cl/views/report_invoice.xml | 8 ++++++ addons/l10n_cl/views/report_invoice_copy.xml | 28 ++++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 addons/l10n_cl/views/report_invoice_copy.xml diff --git a/addons/account/views/account_report.xml b/addons/account/views/account_report.xml index a2762f982028a..13dc3ef6a53d7 100644 --- a/addons/account/views/account_report.xml +++ b/addons/account/views/account_report.xml @@ -87,5 +87,17 @@ account.report_hash_integrity + + Invoices with Copy + account.move + qweb-pdf + l10n_cl.report_invoice_copy + l10n_cl.report_invoice_copy + + report + '%s - COPY' % (object.name) + + + diff --git a/addons/l10n_cl/__manifest__.py b/addons/l10n_cl/__manifest__.py index 39877cd13cdc3..6b1d304da7267 100644 --- a/addons/l10n_cl/__manifest__.py +++ b/addons/l10n_cl/__manifest__.py @@ -26,6 +26,7 @@ 'views/res_bank_view.xml', 'views/res_country_view.xml', 'views/res_company_view.xml', + 'views/report_invoice_copy.xml', 'views/report_invoice.xml', 'views/res_partner.xml', 'views/res_config_settings_view.xml', diff --git a/addons/l10n_cl/views/report_invoice.xml b/addons/l10n_cl/views/report_invoice.xml index 742d0ea47c5ae..760224e6dbf9e 100644 --- a/addons/l10n_cl/views/report_invoice.xml +++ b/addons/l10n_cl/views/report_invoice.xml @@ -222,6 +222,14 @@ + +