From ea7e0a16abd231c151e0b52aa61a4ae9f3e6c64a Mon Sep 17 00:00:00 2001 From: "Maximilien (malb)" Date: Tue, 20 Jun 2023 08:26:45 +0000 Subject: [PATCH] [IMP] l10n_dk,l10n_eu_oss: add tax + oss Following the new accounting act of 2023 in Danemark, by checking the list of taxes we saw that one particular tax was missing and for the other either they can be associated to existing ones or have minor uses and so no need to add them Also, we added a mapping for OSS to map in the section "Category B (Not to be reported for EU sales without VAT)" I have also changed some name where the translation were a bit shaky. closes odoo/odoo#125720 Task: 3334595 Signed-off-by: Brice Bartoletti (bib) --- addons/l10n_dk/data/template/account.tax-dk.csv | 12 ++++++++---- addons/l10n_eu_oss/models/eu_tag_map.py | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/addons/l10n_dk/data/template/account.tax-dk.csv b/addons/l10n_dk/data/template/account.tax-dk.csv index 21d483e172b..c59ff517337 100644 --- a/addons/l10n_dk/data/template/account.tax-dk.csv +++ b/addons/l10n_dk/data/template/account.tax-dk.csv @@ -53,25 +53,25 @@ "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","dk_coa_7740","+KM","25","" "","","","","","","","","","","tax","refund","","","75","" -"tax510","510","25% EU","EU Purchases","","25.0","percent","purchase","","","base","invoice","","+R-A-V","","EU Varekøb" +"tax510","510","25% EU G","EU Goods Purchases","","25.0","percent","purchase","","","base","invoice","","+R-A-V","","EU Varekøb" "","","","","","","","","","","tax","invoice","dk_coa_7740","+KM","","" "","","","","","","","","","","tax","invoice","dk_coa_7742","-MVU","-100","" "","","","","","","","","","","base","refund","","-R-A-V","","" "","","","","","","","","","","tax","refund","dk_coa_7740","-KM","","" "","","","","","","","","","","tax","refund","dk_coa_7742","+MVU","-100","" -"tax520","520","25% EU Perf","EU Performance Purchasing","","25.0","percent","purchase","","","base","invoice","","+R-A-Y","","EU Ydelseskøb" +"tax520","520","25% EU S","EU Service Purchase","","25.0","percent","purchase","","","base","invoice","","+R-A-Y","","EU Ydelseskøb" "","","","","","","","","","","tax","invoice","dk_coa_7740","+KM","","" "","","","","","","","","","","tax","invoice","dk_coa_7741","-MYUOB","-100","" "","","","","","","","","","","base","refund","","-R-A-Y","","" "","","","","","","","","","","tax","refund","dk_coa_7740","-KM","","" "","","","","","","","","","","tax","refund","dk_coa_7741","+MYUOB","-100","" -"tax610","610","25% Land","3. Land Purchase","","25.0","percent","purchase","","","base","invoice","","","","3. Land Varekøb" +"tax610","610","25% 3rd G","3rd country Goods Purchase","","25.0","percent","purchase","","","base","invoice","","","","3. Land Varekøb" "","","","","","","","","","","tax","invoice","dk_coa_7740","+MVU","","" "","","","","","","","","","","tax","invoice","dk_coa_7742","-KM","-100","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","dk_coa_7740","-MVU","","" "","","","","","","","","","","tax","refund","dk_coa_7742","+KM","-100","" -"tax620","620","25% 3rd","3rd country Performance Purchasing","","25.0","percent","purchase","","","base","invoice","","","","3. Land Ydelseskøb" +"tax620","620","25% 3rd S","3rd country Service Purchasing","","25.0","percent","purchase","","","base","invoice","","","","3. Land Ydelseskøb" "","","","","","","","","","","tax","invoice","dk_coa_7740","+KM","","" "","","","","","","","","","","tax","invoice","dk_coa_7741","-MYUOB","-100","" "","","","","","","","","","","base","refund","","","","" @@ -109,3 +109,7 @@ "","","","","","","","","","","tax","invoice","dk_coa_7820","+VA","","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","dk_coa_7820","-VA","","" +"tax770","770","0% Exempt","VAT exempt purchases, No deductions, no VAT on purchases","","0.0","percent","purchase","","","base","invoice","","","","" +"","","","","","","","","","","tax","invoice","","","","" +"","","","","","","","","","","base","refund","","","","" +"","","","","","","","","","","tax","refund","","","","" diff --git a/addons/l10n_eu_oss/models/eu_tag_map.py b/addons/l10n_eu_oss/models/eu_tag_map.py index f0b7b61c378..c90058da051 100644 --- a/addons/l10n_eu_oss/models/eu_tag_map.py +++ b/addons/l10n_eu_oss/models/eu_tag_map.py @@ -59,7 +59,7 @@ EU_TAG_MAP = { }, # Denmark 'dk': { - 'invoice_base_tag': None, + 'invoice_base_tag': 'l10n_dk.account_tax_report_line_section_b_products_non_eu_tag', 'invoice_tax_tag': None, 'refund_base_tag': None, 'refund_tax_tag': None,