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 + + + + + + + + + + +