From e985fe40e585ed56c4a765aafb0cc0d100de47ce Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Fri, 17 Mar 2023 09:59:36 +0100 Subject: [PATCH] fixup! fixup! [ADD] l10n_de_dtvf --- l10n_de_dtvf/models/account_account.py | 14 ++++++++++++++ l10n_de_dtvf/views/account_account.xml | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 l10n_de_dtvf/models/account_account.py create mode 100644 l10n_de_dtvf/views/account_account.xml diff --git a/l10n_de_dtvf/models/account_account.py b/l10n_de_dtvf/models/account_account.py new file mode 100644 index 00000000..7e0f8b58 --- /dev/null +++ b/l10n_de_dtvf/models/account_account.py @@ -0,0 +1,14 @@ +# Copyright 2022 Hunki Enterprises BV +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class AccountAccount(models.Model): + _inherit = "account.account" + + datev_export_nonautomatic = fields.Boolean( + "Suppress automatic calculations in DATEV", + help="When this flag is set, journal items from this account will be exported " + "with field 'BU-Schlussel' set to '40', which inhibits automatic calculations " + "in DATEV.", + ) diff --git a/l10n_de_dtvf/views/account_account.xml b/l10n_de_dtvf/views/account_account.xml new file mode 100644 index 00000000..dffd06f3 --- /dev/null +++ b/l10n_de_dtvf/views/account_account.xml @@ -0,0 +1,18 @@ + + + + + + account.account + + + + + + + + + + +