From 76d284980b5217d8f2ccb9c569f51c37fd0092c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Schenkels?= Date: Mon, 22 Apr 2024 15:02:37 +0000 Subject: [PATCH] Take the adjusted report --- l10n_nl_rgs_xaf_auditfile_export/__init__.py | 1 + l10n_nl_rgs_xaf_auditfile_export/models/__init__.py | 3 +++ .../models/xaf_auditfile_export.py | 10 ++++++++++ 3 files changed, 14 insertions(+) create mode 100644 l10n_nl_rgs_xaf_auditfile_export/models/__init__.py create mode 100644 l10n_nl_rgs_xaf_auditfile_export/models/xaf_auditfile_export.py diff --git a/l10n_nl_rgs_xaf_auditfile_export/__init__.py b/l10n_nl_rgs_xaf_auditfile_export/__init__.py index e69de29..0650744 100644 --- a/l10n_nl_rgs_xaf_auditfile_export/__init__.py +++ b/l10n_nl_rgs_xaf_auditfile_export/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/l10n_nl_rgs_xaf_auditfile_export/models/__init__.py b/l10n_nl_rgs_xaf_auditfile_export/models/__init__.py new file mode 100644 index 0000000..0dfa9a8 --- /dev/null +++ b/l10n_nl_rgs_xaf_auditfile_export/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import xaf_auditfile_export diff --git a/l10n_nl_rgs_xaf_auditfile_export/models/xaf_auditfile_export.py b/l10n_nl_rgs_xaf_auditfile_export/models/xaf_auditfile_export.py new file mode 100644 index 0000000..2f9e7dd --- /dev/null +++ b/l10n_nl_rgs_xaf_auditfile_export/models/xaf_auditfile_export.py @@ -0,0 +1,10 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import models + + +class XafAuditfileExport(models.Model): + _inherit = "xaf.auditfile.export" + + def _get_auditfile_template(self): + """return the qweb template to be rendered""" + return "l10n_nl_rgs_xaf_auditfile_export.auditfile_template"