-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2022 Hunki Enterprises BV | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
|
||
<record id="view_account_account_form" model="ir.ui.view"> | ||
<field name="model">account.account</field> | ||
<field name="inherit_id" ref="account.view_account_form" /> | ||
<field name="arch" type="xml"> | ||
<group position="after"> | ||
<group name="l10n_de_dtvf"> | ||
<field name="datev_export_nonautomatic" /> | ||
</group> | ||
</group> | ||
</field> | ||
</record> | ||
|
||
</odoo> |