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" diff --git a/l10n_nl_rgs_xaf_auditfile_export/views/templates.xml b/l10n_nl_rgs_xaf_auditfile_export/views/templates.xml index 9df7344..7fe7f82 100644 --- a/l10n_nl_rgs_xaf_auditfile_export/views/templates.xml +++ b/l10n_nl_rgs_xaf_auditfile_export/views/templates.xml @@ -1,7 +1,7 @@ -