Skip to content
Permalink
Browse files

[ADD] l10n_dk: introducing Denmark localization

added CoA, taxes, fiscal positions and related stuff

closes #38851

Task: 40224
Closes: 38851
Related: odoo/enterprise#6167
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
  • Loading branch information
odoohouse authored and jco-odoo committed Apr 25, 2019
1 parent 7f0c815 commit 3d0f8d07a494997be96868dd609bf4cc2ccc750c
@@ -0,0 +1,4 @@
# -*- encoding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from . import models
@@ -0,0 +1,105 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

{
'name': 'Denmark - Accounting',
'version': '1.0',
'author': 'Odoo House ApS',
'website': 'https://odoohouse.dk',
'category': 'Localization',
'description': """
Localization Module for Denmark
===============================
This is the module to manage the **accounting chart for Denmark**. Cover both one-man business as well as I/S, IVS, ApS and A/S
**Modulet opsætter:**
- **Dansk kontoplan**
- Dansk moms
- 25% moms
- Resturationsmoms 6,25%
- Omvendt betalingspligt
- Konteringsgrupper
- EU (Virksomhed)
- EU (Privat)
- 3.lande
- Finans raporter
- Resulttopgørelse
- Balance
- Momsafregning
- Afregning
- Rubrik A, B og C
- **Anglo-Saxon regnskabsmetode**
.
Produkt setup:
==============
**Vare**
**Salgsmoms:** Salgmoms 25%
**Salgskonto:** 1010 Salg af vare, m/moms
**Købsmoms:** Købsmoms 25%
**Købskonto:** 2010 Direkte omkostninger vare, m/moms
.
**Ydelse**
**Salgsmoms:** Salgmoms 25%, ydelser
**Salgskonto:** 1011 Salg af ydelser, m/moms
**Købsmoms:** Købsmoms 25%, ydelser
**Købskonto:** 2011 Direkte omkostninger ydelser, m/moms
.
**Vare med omvendt betalingspligt**
**Salgsmoms:** Salg omvendt betalingspligt
**Salgskonto:** 1012 Salg af vare, u/moms
**Købsmoms:** Køb omvendt betalingspligt
**Købskonto:** 2012 Direkte omkostninger vare, u/moms
.
**Restauration**
**Købsmoms:** Restaurationsmoms 6,25%, købsmoms
**Købskonto:** 4010 Restaurationsbesøg
.
Copyright 2018 Odoo House ApS
""",
'depends': ['account', 'base_iban', 'base_vat'],
'data': [
'data/account_account_tags.xml',
'data/l10n_dk_chart_template_data.xml',
'data/account.account.template.csv',
'data/l10n_dk_chart_template_post_data.xml',
'data/account_tax_template_data.xml',
'data/account_fiscal_position_template.xml',
'data/account_fiscal_position_tax_template.xml',
'data/account_fiscal_position_account_template.xml',
'data/account_chart_template_configuration_data.xml',
'data/menuitem_data.xml'
],
}

Large diffs are not rendered by default.

@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<!--Resultatopgørelse indtægter-->
<record id="account_tag_revenue" model="account.account.tag">
<field name="name">Omsætning</field>
<field name="applicability">accounts</field>
</record>

<!--Resultatopgørelse udgifer-->
<record id="account_tag_direct_costs" model="account.account.tag">
<field name="name">Direkte omkostninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_staff_costs" model="account.account.tag">
<field name="name">Personaleomkostninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_sales_promotions_costs" model="account.account.tag">
<field name="name">Salgsfremmende omkostninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_cars_equipment_costs" model="account.account.tag">
<field name="name">Biler og driftmidler</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_rooms_costs" model="account.account.tag">
<field name="name">Lokaleomkostninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_administration_costs" model="account.account.tag">
<field name="name">Administrationsomkostninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_depreciation" model="account.account.tag">
<field name="name">Af- og nedskrivninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_financial_income" model="account.account.tag">
<field name="name">Finansielle indtægter</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_financial_expenses" model="account.account.tag">
<field name="name">Finansielle udgifter</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_extraordinary_income" model="account.account.tag">
<field name="name">Ekstraordinære indtægter</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_extraordinary_expenses" model="account.account.tag">
<field name="name">Ekstraordinære udgifter</field>
<field name="applicability">accounts</field>
</record>

<!--Assets Aktiver-->
<record id="account_tag_Goodwill_licenses_etc" model="account.account.tag">
<field name="name">Goodwill, licenser mm.</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_land_buildings" model="account.account.tag">
<field name="name">Grunde og bygninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_other_equipment_tools_inventory" model="account.account.tag">
<field name="name">Andre anlæg, driftsmateriel og inventar</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_inventories" model="account.account.tag">
<field name="name">Varebeholdninger</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_work_in_progress" model="account.account.tag">
<field name="name">Igangværende arbejder</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_prepayments" model="account.account.tag">
<field name="name">Forudbetaling til leverandører</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_receivable" model="account.account.tag">
<field name="name">Tilgodehavender</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_other_receivables" model="account.account.tag">
<field name="name">Andre tilgodehavender</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_liquidity" model="account.account.tag">
<field name="name">Likvide beholdninger</field>
<field name="applicability">accounts</field>
</record>

<!--Liabilities Passiver-->
<record id="account_tag_equity_individual_enterprises" model="account.account.tag">
<field name="name">Egenkapital enkeltmandsvirksomheder</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_equity_corporations" model="account.account.tag">
<field name="name">Egenkapital selskaber</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_credit_institutions" model="account.account.tag">
<field name="name">Kreditinstitutter</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_bank_loans" model="account.account.tag">
<field name="name">Bankgæld</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_prepayments_from_customers" model="account.account.tag">
<field name="name">Forudbetalinger fra kunder</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_payable" model="account.account.tag">
<field name="name">Leverandørgæld</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_vat_taxes" model="account.account.tag">
<field name="name">Moms og afgifter</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_Payroll_related_liabilities" model="account.account.tag">
<field name="name">Løn relateret gæld</field>
<field name="applicability">accounts</field>
</record>
<record id="account_tag_other_current_liabilities" model="account.account.tag">
<field name="name">Anden kortfristet gæld</field>
<field name="applicability">accounts</field>
</record>
</odoo>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_dk.dk_chart_template')]"/>
</function>
</odoo>
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- 3. lande -->
<record id="fiscal_position_account_salgvare_3" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="account_src_id" ref="a1010"/>
<field name="account_dest_id" ref="a1030"/>
</record>
<record id="fiscal_position_account_salgydelser_3" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="account_src_id" ref="a1011"/>
<field name="account_dest_id" ref="a1031"/>
</record>
<record id="fiscal_position_account_koebvare_3" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="account_src_id" ref="a2010"/>
<field name="account_dest_id" ref="a2030"/>
</record>
<record id="fiscal_position_account_koebydelser_3" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="account_src_id" ref="a2011"/>
<field name="account_dest_id" ref="a2031"/>
</record>

<!-- EU lande -->
<record id="fiscal_position_account_salgvare_eu" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="account_src_id" ref="a1010"/>
<field name="account_dest_id" ref="a1020"/>
</record>
<record id="fiscal_position_account_salgydelser_eu" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="account_src_id" ref="a1011"/>
<field name="account_dest_id" ref="a1021"/>
</record>
<record id="fiscal_position_account_koebvare_eu" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="account_src_id" ref="a2010"/>
<field name="account_dest_id" ref="a2020"/>
</record>
<record id="fiscal_position_account_koebydelser_eu_taxid" model="account.fiscal.position.account.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="account_src_id" ref="a2011"/>
<field name="account_dest_id" ref="a2021"/>
</record>
</odoo>
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- 3. lande -->
<record id="position_tax_salgvare_3" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="tax_src_id" ref="tax110"/>
<field name="tax_dest_id" ref="tax310"/>
</record>
<record id="position_tax_salgydelser_3" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="tax_src_id" ref="tax120"/>
<field name="tax_dest_id" ref="tax310"/>
</record>
<record id="position_tax_koebvare_3" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="tax_src_id" ref="tax400"/>
<field name="tax_dest_id" ref="tax610"/>
</record>
<record id="position_tax_koebydelser_3" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_3lande"/>
<field name="tax_src_id" ref="tax420"/>
<field name="tax_dest_id" ref="tax620"/>
</record>

<!-- EU lande -->
<record id="position_tax_salgvare_eu" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="tax_src_id" ref="tax110"/>
<field name="tax_dest_id" ref="tax210"/>
</record>
<record id="position_tax_salgydelser_eu" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="tax_src_id" ref="tax120"/>
<field name="tax_dest_id" ref="tax220"/>
</record>
<record id="position_tax_koebvare_eu" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="tax_src_id" ref="tax400"/>
<field name="tax_dest_id" ref="tax510"/>
</record>
<record id="position_tax_koebydelser_eu" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_eu_taxid"/>
<field name="tax_src_id" ref="tax420"/>
<field name="tax_dest_id" ref="tax520"/>
</record>
</odoo>
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="fiscal_position_template_dk_vat" model="account.fiscal.position.template">
<field name="name">Danmark (Virkomshed)</field>
<field name="chart_template_id" ref="dk_chart_template" />
<field name="auto_apply" eval="True"/>
<field name="vat_required" eval="True"/>
<field name="sequence">10</field>
<field name="country_id" ref="base.dk"/>
</record>
<record id="fiscal_position_template_eu" model="account.fiscal.position.template">
<field name="name">EU lande (Privat)</field>
<field name="chart_template_id" ref="dk_chart_template" />
<field name="auto_apply" eval="True"/>
<field name="sequence">11</field>
<field name="country_group_id" ref="base.europe"/>
</record>
<record id="fiscal_position_template_eu_taxid" model="account.fiscal.position.template">
<field name="name">EU lande (Virksomhed)</field>
<field name="chart_template_id" ref="dk_chart_template" />
<field name="auto_apply" eval="True"/>
<field name="vat_required" eval="True"/>
<field name="sequence">12</field>
<field name="country_group_id" ref="base.europe"/>
</record>
<record id="fiscal_position_template_3lande" model="account.fiscal.position.template">
<field name="name">3. lande (Virksomhed / Privat)</field>
<field name="chart_template_id" ref="dk_chart_template" />
<field name="auto_apply" eval="True"/>
<field name="sequence">13</field>
</record>
</odoo>

0 comments on commit 3d0f8d0

Please sign in to comment.
You can’t perform that action at this time.