From 0870357cc48ba0a7f7ce18ac32ecb677ee579498 Mon Sep 17 00:00:00 2001 From: "Claire Bretton (clbr)" Date: Fri, 24 Nov 2023 09:17:48 +0100 Subject: [PATCH] [FIX] l10n_ch: activate 2024 taxes, deactivate outdated taxes REMINDER: old taxes = {7.7%, 3.7%, 2.5%}; new taxes = {8.1%, 3.8%, 2.6%} 1. We created 2024 taxes in advance and made them inactive by default to avoid confusion for our users, while making them available for those who needed them. Now that we are about to enter 2024 its time to active new taxes by default and deactivate outdated ones. We are keeping outdated taxes a bit more for clients that are not closing their accounting at the end of the year and might need them for upcoming months. 2. Remove the activation of new taxes that was made in the module migration since now those taxes are already active. closes odoo/odoo#146495 Task-id: 3184792 X-original-commit: 69868b3a1e327346138835ee4c91d86a5229f9c4 Signed-off-by: Josse Colpaert Signed-off-by: Claire Bretton (clbr) --- .../l10n_ch/data/template/account.tax-ch.csv | 80 +++++++++---------- .../data/template/account.tax.group-ch.csv | 4 +- .../11.1/post-migrate_update_taxes.py | 2 +- addons/l10n_ch/models/template_ch.py | 2 + 4 files changed, 45 insertions(+), 43 deletions(-) diff --git a/addons/l10n_ch/data/template/account.tax-ch.csv b/addons/l10n_ch/data/template/account.tax-ch.csv index cd1341e285e..73142fafb1a 100644 --- a/addons/l10n_ch/data/template/account.tax-ch.csv +++ b/addons/l10n_ch/data/template/account.tax-ch.csv @@ -1,69 +1,69 @@ "id","name","description","invoice_label","amount","amount_type","type_tax_use","tax_group_id","price_include","sequence","active","children_tax_ids","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","description@de","description@it","description@fr" -"vat_25","2.5%","","2.5%","2.5","percent","sale","tax_group_tva_25","","","True","","base","invoice","+312a","","","","" +"vat_25","2.5%","","2.5%","2.5","percent","sale","tax_group_tva_25","","","False","","base","invoice","+312a","","","","" "","","","","","","","","","","","","tax","invoice","+312b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-312a","","","","" "","","","","","","","","","","","","tax","refund","-312b","ch_coa_2200","","","" -"vat_25_incl","2.5% INC","2.5% Sales (incl.)","2.5% incl.","2.5","percent","sale","tax_group_tva_25","True","","True","","base","invoice","+312a","","UST 2.5% Lief./DL (inkl. MWST)","IVA dovuta al 2,5% (Incl. TR)","TVA due à 2.5% (Incl. TR)" +"vat_25_incl","2.5% INC","2.5% Sales (incl.)","2.5% incl.","2.5","percent","sale","tax_group_tva_25","True","","False","","base","invoice","+312a","","UST 2.5% Lief./DL (inkl. MWST)","IVA dovuta al 2,5% (Incl. TR)","TVA due à 2.5% (Incl. TR)" "","","","","","","","","","","","","tax","invoice","+312b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-312a","","","","" "","","","","","","","","","","","","tax","refund","-312b","ch_coa_2200","","","" -"vat_25_purchase","2.5%","","2.5%","2.5","percent","purchase","tax_group_tva_25","","","True","","base","invoice","","","","","" +"vat_25_purchase","2.5%","","2.5%","2.5","percent","purchase","tax_group_tva_25","","","False","","base","invoice","","","","","" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_25_purchase_incl","2.5% INC","2.5% on goods and services (incl.)","2.5% incl.","2.5","percent","purchase","tax_group_tva_25","True","","True","","base","invoice","","","VST 2.5% Mat.-/DL (inkl. MWST)","IVA 2,5% sull'acquisto di B&S (Incl. TR)","TVA 2.5% sur achat B&S (Incl. TR)" +"vat_25_purchase_incl","2.5% INC","2.5% on goods and services (incl.)","2.5% incl.","2.5","percent","purchase","tax_group_tva_25","True","","False","","base","invoice","","","VST 2.5% Mat.-/DL (inkl. MWST)","IVA 2,5% sull'acquisto di B&S (Incl. TR)","TVA 2.5% sur achat B&S (Incl. TR)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_25_invest","2.5% I OE","2.5% on invest. and others expenses","2.5% invest.","2.5","percent","purchase","tax_group_tva_25","","","True","","base","invoice","","","VST 2.5% Inv./übr.BA (exkl. MWST)","IVA 2.5% Investimenti e altri costi (TR)","TVA 2.5% sur invest. et autres ch. (TR)" +"vat_25_invest","2.5% I OE","2.5% on invest. and others expenses","2.5% invest.","2.5","percent","purchase","tax_group_tva_25","","","False","","base","invoice","","","VST 2.5% Inv./übr.BA (exkl. MWST)","IVA 2.5% Investimenti e altri costi (TR)","TVA 2.5% sur invest. et autres ch. (TR)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_25_invest_incl","2.5% I OE INC","2.5% on invest. and others expenses (incl.)","2.5% invest. incl.","2.5","percent","purchase","tax_group_tva_25","True","","True","","base","invoice","","","VST 2.5% Inv./übr.BA (inkl. MWST)","IVA 2,5% su investimenti e altre voci (incl. TR)","TVA 2.5% sur invest. et autres ch. (Incl. TR)" +"vat_25_invest_incl","2.5% I OE INC","2.5% on invest. and others expenses (incl.)","2.5% invest. incl.","2.5","percent","purchase","tax_group_tva_25","True","","False","","base","invoice","","","VST 2.5% Inv./übr.BA (inkl. MWST)","IVA 2,5% su investimenti e altre voci (incl. TR)","TVA 2.5% sur invest. et autres ch. (Incl. TR)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_37","3.7%","","3.7%","3.7","percent","sale","tax_group_tva_37","","","True","","base","invoice","+342a","","","","" +"vat_37","3.7%","","3.7%","3.7","percent","sale","tax_group_tva_37","","","False","","base","invoice","+342a","","","","" "","","","","","","","","","","","","tax","invoice","+342b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-342a","","","","" "","","","","","","","","","","","","tax","refund","-342b","ch_coa_2200","","","" -"vat_37_incl","3.7% INC","3.7% Sales (incl.)","3.7% incl.","3.7","percent","sale","tax_group_tva_37","True","","True","","base","invoice","+342a","","UST 3.7% Lief./DL (inkl. MWST)","IVA dovuta al 3,7% (Incl. TS)","TVA due à 3.7% (Incl. TS)" +"vat_37_incl","3.7% INC","3.7% Sales (incl.)","3.7% incl.","3.7","percent","sale","tax_group_tva_37","True","","False","","base","invoice","+342a","","UST 3.7% Lief./DL (inkl. MWST)","IVA dovuta al 3,7% (Incl. TS)","TVA due à 3.7% (Incl. TS)" "","","","","","","","","","","","","tax","invoice","+342b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-342a","","","","" "","","","","","","","","","","","","tax","refund","-342b","ch_coa_2200","","","" -"vat_37_purchase","3.7%","","3.7%","3.7","percent","purchase","tax_group_tva_37","","","True","","base","invoice","","","","","" +"vat_37_purchase","3.7%","","3.7%","3.7","percent","purchase","tax_group_tva_37","","","False","","base","invoice","","","","","" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_37_purchase_incl","3.7% INC","3.7% on goods and services (incl.)","3.7% incl.","3.7","percent","purchase","tax_group_tva_37","True","","True","","base","invoice","","","VST 3.7% Mat.-/DL (inkl. MWST)","IVA 3,7% sull'acquisto di B&S (Incl. TS)","TVA 3.7% sur achat B&S (Incl. TS)" +"vat_37_purchase_incl","3.7% INC","3.7% on goods and services (incl.)","3.7% incl.","3.7","percent","purchase","tax_group_tva_37","True","","False","","base","invoice","","","VST 3.7% Mat.-/DL (inkl. MWST)","IVA 3,7% sull'acquisto di B&S (Incl. TS)","TVA 3.7% sur achat B&S (Incl. TS)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_37_invest","3.7% I OE","3.7% on invest. and others expenses","3.7% invest.","3.7","percent","purchase","tax_group_tva_37","","","True","","base","invoice","","","VST 3.7% Inv./übr.BA (exkl. MWST)","IVA 3,7% su investimenti e altre voci (TS)","TVA 3.7% sur invest. et autres ch. (TS)" +"vat_37_invest","3.7% I OE","3.7% on invest. and others expenses","3.7% invest.","3.7","percent","purchase","tax_group_tva_37","","","False","","base","invoice","","","VST 3.7% Inv./übr.BA (exkl. MWST)","IVA 3,7% su investimenti e altre voci (TS)","TVA 3.7% sur invest. et autres ch. (TS)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_37_invest_incl","3.7% I OE INC","3.7% on invest. and others expenses (incl.)","3.7% invest. incl.","3.7","percent","purchase","tax_group_tva_37","True","","True","","base","invoice","","","VST 3.7% Inv./übr.BA (inkl. MWST)","IVA 3,7% su investimenti e altre voci (incl. TS)","TVA 3.7% sur invest. et autres ch. (Incl. TS)" +"vat_37_invest_incl","3.7% I OE INC","3.7% on invest. and others expenses (incl.)","3.7% invest. incl.","3.7","percent","purchase","tax_group_tva_37","True","","False","","base","invoice","","","VST 3.7% Inv./übr.BA (inkl. MWST)","IVA 3,7% su investimenti e altre voci (incl. TS)","TVA 3.7% sur invest. et autres ch. (Incl. TS)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_77","7.7%","","7.7%","7.7","percent","sale","tax_group_tva_77","","0","True","","base","invoice","+302a","","","","" +"vat_77","7.7%","","7.7%","7.7","percent","sale","tax_group_tva_77","","0","False","","base","invoice","+302a","","","","" "","","","","","","","","","","","","tax","invoice","+302b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-302a","","","","" "","","","","","","","","","","","","tax","refund","-302b","ch_coa_2200","","","" -"vat_77_incl","7.7% INC","7.7% Sales (incl.)","7.7% incl.","7.7","percent","sale","tax_group_tva_77","True","0","True","","base","invoice","+302a","","UST 7.7% Lief./DL (inkl. MWST)","IVA dovuta al 7,7% (Incl. TN)","TVA due à 7.7% (Incl. TN)" +"vat_77_incl","7.7% INC","7.7% Sales (incl.)","7.7% incl.","7.7","percent","sale","tax_group_tva_77","True","0","False","","base","invoice","+302a","","UST 7.7% Lief./DL (inkl. MWST)","IVA dovuta al 7,7% (Incl. TN)","TVA due à 7.7% (Incl. TN)" "","","","","","","","","","","","","tax","invoice","+302b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-302a","","","","" "","","","","","","","","","","","","tax","refund","-302b","ch_coa_2200","","","" -"vat_77_purchase_incl","7.7% INC","7.7% on goods and services (incl.)","7.7% incl.","7.7","percent","purchase","tax_group_tva_77","True","0","True","","base","invoice","","","VST 7.7% Mat.-/DL (inkl. MWST)","IVA 7,7% sull'acquisto di B&S (Incl. TN)","TVA 7.7% sur achat B&S (Incl. TN)" +"vat_77_purchase_incl","7.7% INC","7.7% on goods and services (incl.)","7.7% incl.","7.7","percent","purchase","tax_group_tva_77","True","0","False","","base","invoice","","","VST 7.7% Mat.-/DL (inkl. MWST)","IVA 7,7% sull'acquisto di B&S (Incl. TN)","TVA 7.7% sur achat B&S (Incl. TN)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_77_invest","7.7% I OE","7.7% on invest. and others expenses","7.7% invest.","7.7","percent","purchase","tax_group_tva_77","","","True","","base","invoice","","","VST 7.7% Inv./übr.BA (exkl. MWST)","IVA 7,7% su investimenti e altre voci (TN)","TVA 7.7% sur invest. et autres ch. (TN)" +"vat_77_invest","7.7% I OE","7.7% on invest. and others expenses","7.7% invest.","7.7","percent","purchase","tax_group_tva_77","","","False","","base","invoice","","","VST 7.7% Inv./übr.BA (exkl. MWST)","IVA 7,7% su investimenti e altre voci (TN)","TVA 7.7% sur invest. et autres ch. (TN)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_77_invest_incl","7.7% I OE INC","7.7% on invest. and others expenses (incl.)","7.7% invest. incl.","7.7","percent","purchase","tax_group_tva_77","True","","True","","base","invoice","","","VST 7.7% Inv./übr.BA (inkl. MWST)","IVA 7,7% su investimenti e altre voci (incl. TN)","TVA 7.7% sur invest. et autres ch. (Incl. TN)" +"vat_77_invest_incl","7.7% I OE INC","7.7% on invest. and others expenses (incl.)","7.7% invest. incl.","7.7","percent","purchase","tax_group_tva_77","True","","False","","base","invoice","","","VST 7.7% Inv./übr.BA (inkl. MWST)","IVA 7,7% su investimenti e altre voci (incl. TN)","TVA 7.7% sur invest. et autres ch. (Incl. TN)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" @@ -84,15 +84,15 @@ "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_77_purchase_return","7.7% R","7.7% Sales (reverse)","7.7% return","-7.7","percent","none","tax_group_tva_77","","0","True","","base","invoice","-382a","","UST 7.7% Bezugssteuer","IVA dovuta al 7,7% (TN) (rendimento)","TVA due a 7.7% (TN) (return)" +"vat_77_purchase_return","7.7% R","7.7% Sales (reverse)","7.7% return","-7.7","percent","none","tax_group_tva_77","","0","False","","base","invoice","-382a","","UST 7.7% Bezugssteuer","IVA dovuta al 7,7% (TN) (rendimento)","TVA due a 7.7% (TN) (return)" "","","","","","","","","","","","","tax","invoice","-382b","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","+382a","","","","" "","","","","","","","","","","","","tax","refund","+382b","ch_coa_1170","","","" -"vat_77_purchase","7.7%","","7.7%","7.7","percent","purchase","tax_group_tva_77","","0","True","","base","invoice","","","","","" +"vat_77_purchase","7.7%","","7.7%","7.7","percent","purchase","tax_group_tva_77","","0","False","","base","invoice","","","","","" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_77_purchase_reverse","7.7% R C","7.7% on purchase of service abroad (reverse charge)","7.7% reverse","","group","purchase","tax_group_tva_77","","","True","vat_77_purchase_return,vat_77_purchase","","","","","BZS 7.7% Bezugssteuer","IVA 7,7% sull'acquisto di servizi all'estero (reverse charge)","TVA 7.7% sur achat service a l'etranger (reverse charge)" +"vat_77_purchase_reverse","7.7% R C","7.7% on purchase of service abroad (reverse charge)","7.7% reverse","","group","purchase","tax_group_tva_77","","","False","vat_77_purchase_return,vat_77_purchase","","","","","BZS 7.7% Bezugssteuer","IVA 7,7% sull'acquisto di servizi all'estero (reverse charge)","TVA 7.7% sur achat service a l'etranger (reverse charge)" "vat_other_movements_900","0% S T","0% - Subsidies, tourist taxes","0% subventions","0.0","percent","sale","tax_group_tva_0","","","True","","base","invoice","+900","","0% - Subventionen, Kurtaxen","Sovvenzioni, 0% tasse turistiche","Subventions, taxes touristiques à 0%" "","","","","","","","","","","","","tax","invoice","","","","","" "","","","","","","","","","","","","base","refund","-900","","","","" @@ -101,80 +101,80 @@ "","","","","","","","","","","","","tax","invoice","","","","","" "","","","","","","","","","","","","base","refund","-910","","","","" "","","","","","","","","","","","","tax","refund","","","","","" -"vat_sale_26","2.6%","2.6% Sales","2.6%","2.6","percent","sale","tax_group_vat_26","","","False","","base","invoice","+313a","","UST 2,6% Lief./DL (exkl. MWST)","IVA dovuta al 2,6% (TR)","TVA due à 2,6% (TR)" +"vat_sale_26","2.6%","2.6% Sales","2.6%","2.6","percent","sale","tax_group_vat_26","","","True","","base","invoice","+313a","","UST 2,6% Lief./DL (exkl. MWST)","IVA dovuta al 2,6% (TR)","TVA due à 2,6% (TR)" "","","","","","","","","","","","","tax","invoice","+313b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-313a","","","","" "","","","","","","","","","","","","tax","refund","-313b","ch_coa_2200","","","" -"vat_sale_26_incl","2.6% INC","2.6% Sales (incl.)","2.6% incl.","2.6","percent","sale","tax_group_vat_26","True","","False","","base","invoice","+313a","","UST 2,6% Lief./DL (inkl. MWST)","IVA dovuta al 2,6% (Incl. TR)","TVA due à 2,6% (Incl. TR)" +"vat_sale_26_incl","2.6% INC","2.6% Sales (incl.)","2.6% incl.","2.6","percent","sale","tax_group_vat_26","True","","True","","base","invoice","+313a","","UST 2,6% Lief./DL (inkl. MWST)","IVA dovuta al 2,6% (Incl. TR)","TVA due à 2,6% (Incl. TR)" "","","","","","","","","","","","","tax","invoice","+313b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-313a","","","","" "","","","","","","","","","","","","tax","refund","-313b","ch_coa_2200","","","" -"vat_purchase_26","2.6%","2.6% on goods and services","2.6%","2.6","percent","purchase","tax_group_vat_26","","","False","","base","invoice","","","VST 2,6% Mat.-/DL (exkl. MWST)","IVA 2,6% sull'acquisto di B&S (TR)","TVA 2,6% sur achat B&S (TR)" +"vat_purchase_26","2.6%","2.6% on goods and services","2.6%","2.6","percent","purchase","tax_group_vat_26","","","True","","base","invoice","","","VST 2,6% Mat.-/DL (exkl. MWST)","IVA 2,6% sull'acquisto di B&S (TR)","TVA 2,6% sur achat B&S (TR)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_purchase_26_incl","2.6% INC","2.6% on goods and services (incl.)","2.6% incl.","2.6","percent","purchase","tax_group_vat_26","True","","False","","base","invoice","","","VST 2,6% Mat.-/DL (inkl. MWST)","IVA 2,6% sull'acquisto di B&S (Incl. TR)","TVA 2,6% sur achat B&S (Incl. TR)" +"vat_purchase_26_incl","2.6% INC","2.6% on goods and services (incl.)","2.6% incl.","2.6","percent","purchase","tax_group_vat_26","True","","True","","base","invoice","","","VST 2,6% Mat.-/DL (inkl. MWST)","IVA 2,6% sull'acquisto di B&S (Incl. TR)","TVA 2,6% sur achat B&S (Incl. TR)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_purchase_26_invest","2.6% I OE","2.6% on invest. and others expenses","2.6% invest.","2.6","percent","purchase","tax_group_vat_26","","","False","","base","invoice","","","VST 2,6% Inv./übr.BA (exkl. MWST)","IVA 2,6% Investimenti e altri costi (TR)","TVA 2,6% sur invest. et autres ch. (TR)" +"vat_purchase_26_invest","2.6% I OE","2.6% on invest. and others expenses","2.6% invest.","2.6","percent","purchase","tax_group_vat_26","","","True","","base","invoice","","","VST 2,6% Inv./übr.BA (exkl. MWST)","IVA 2,6% Investimenti e altri costi (TR)","TVA 2,6% sur invest. et autres ch. (TR)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_purchase_26_invest_incl","2.6% I OE INC","2.6% on invest. and others expenses (incl.)","2.6% invest. incl.","2.6","percent","purchase","tax_group_vat_26","True","","False","","base","invoice","","","VST 2,6% Inv./übr.BA (inkl. MWST)","IVA 2,6% su investimenti e altre voci (incl. TR)","TVA 2,6% sur invest. et autres ch. (Incl. TR)" +"vat_purchase_26_invest_incl","2.6% I OE INC","2.6% on invest. and others expenses (incl.)","2.6% invest. incl.","2.6","percent","purchase","tax_group_vat_26","True","","True","","base","invoice","","","VST 2,6% Inv./übr.BA (inkl. MWST)","IVA 2,6% su investimenti e altre voci (incl. TR)","TVA 2,6% sur invest. et autres ch. (Incl. TR)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_sale_38","3.8%","3.8% Sales","3.8%","3.8","percent","sale","tax_group_vat_38","","","False","","base","invoice","+343a","","UST 3,8% Lief./DL (exkl. MWST)","IVA dovuta al 3,8% (TS)","TVA due à 3,8% (TS)" +"vat_sale_38","3.8%","3.8% Sales","3.8%","3.8","percent","sale","tax_group_vat_38","","","True","","base","invoice","+343a","","UST 3,8% Lief./DL (exkl. MWST)","IVA dovuta al 3,8% (TS)","TVA due à 3,8% (TS)" "","","","","","","","","","","","","tax","invoice","+343b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-343a","","","","" "","","","","","","","","","","","","tax","refund","-343b","ch_coa_2200","","","" -"vat_sale_38_incl","3.8% INC","3.8% Sales (incl.)","3.8% incl.","3.8","percent","sale","tax_group_vat_38","True","","False","","base","invoice","+343a","","UST 3,8% Lief./DL (inkl. MWST)","IVA dovuta al 3,8% (Incl. TS)","TVA due à 3,8% (Incl. TS)" +"vat_sale_38_incl","3.8% INC","3.8% Sales (incl.)","3.8% incl.","3.8","percent","sale","tax_group_vat_38","True","","True","","base","invoice","+343a","","UST 3,8% Lief./DL (inkl. MWST)","IVA dovuta al 3,8% (Incl. TS)","TVA due à 3,8% (Incl. TS)" "","","","","","","","","","","","","tax","invoice","+343b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-343a","","","","" "","","","","","","","","","","","","tax","refund","-343b","ch_coa_2200","","","" -"vat_purchase_38","3.8%","3.8% purchase on goods and services","3.8%","3.8","percent","purchase","tax_group_vat_38","","","False","","base","invoice","","","VST 3,8% Mat.-/DL (exkl. MWST)","IVA 3,8% sull'acquisto di B&S (TS)","TVA 3,8% sur achat B&S (TS)" +"vat_purchase_38","3.8%","3.8% purchase on goods and services","3.8%","3.8","percent","purchase","tax_group_vat_38","","","True","","base","invoice","","","VST 3,8% Mat.-/DL (exkl. MWST)","IVA 3,8% sull'acquisto di B&S (TS)","TVA 3,8% sur achat B&S (TS)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_purchase_38_incl","3.8% INC","3.8% purchase on goods and services (incl.)","3.8% incl.","3.8","percent","purchase","tax_group_vat_38","True","","False","","base","invoice","","","VST 3,8% Mat.-/DL (inkl. MWST)","IVA 3,8% sull'acquisto di B&S (Incl. TS)","TVA 3,8% sur achat B&S (Incl. TS)" +"vat_purchase_38_incl","3.8% INC","3.8% purchase on goods and services (incl.)","3.8% incl.","3.8","percent","purchase","tax_group_vat_38","True","","True","","base","invoice","","","VST 3,8% Mat.-/DL (inkl. MWST)","IVA 3,8% sull'acquisto di B&S (Incl. TS)","TVA 3,8% sur achat B&S (Incl. TS)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_purchase_38_invest","3.8% I OE","3.8% on invest. and others expenses","3.8% invest.","3.8","percent","purchase","tax_group_vat_38","","","False","","base","invoice","","","VST 3,8% Inv./übr.BA (exkl. MWST)","IVA 3,8% su investimenti e altre voci (TS)","TVA 3,8% sur invest. et autres ch. (TS)" +"vat_purchase_38_invest","3.8% I OE","3.8% on invest. and others expenses","3.8% invest.","3.8","percent","purchase","tax_group_vat_38","","","True","","base","invoice","","","VST 3,8% Inv./übr.BA (exkl. MWST)","IVA 3,8% su investimenti e altre voci (TS)","TVA 3,8% sur invest. et autres ch. (TS)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_purchase_38_invest_incl","3.8% I OE INC","3.8% on invest. and others expenses (incl.)","3.8% invest. incl.","3.8","percent","purchase","tax_group_vat_38","True","","False","","base","invoice","","","VST 3,8% Inv./übr.BA (inkl. MWST)","IVA 3,8% su investimenti e altre voci (incl. TS)","TVA 3,8% sur invest. et autres ch. (Incl. TS)" +"vat_purchase_38_invest_incl","3.8% I OE INC","3.8% on invest. and others expenses (incl.)","3.8% invest. incl.","3.8","percent","purchase","tax_group_vat_38","True","","True","","base","invoice","","","VST 3,8% Inv./übr.BA (inkl. MWST)","IVA 3,8% su investimenti e altre voci (incl. TS)","TVA 3,8% sur invest. et autres ch. (Incl. TS)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_sale_81","8.1%","8.1% Sales","8.1%","8.1","percent","sale","tax_group_vat_81","","1","False","","base","invoice","+303a","","UST 8,1% Lief./DL (exkl. MWST)","IVA dovuta al 8,1% (TN)","TVA due à 8,1% (TN)" +"vat_sale_81","8.1%","8.1% Sales","8.1%","8.1","percent","sale","tax_group_vat_81","","1","True","","base","invoice","+303a","","UST 8,1% Lief./DL (exkl. MWST)","IVA dovuta al 8,1% (TN)","TVA due à 8,1% (TN)" "","","","","","","","","","","","","tax","invoice","+303b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-303a","","","","" "","","","","","","","","","","","","tax","refund","-303b","ch_coa_2200","","","" -"vat_sale_81_incl","8.1% INC","8.1% Sales (incl.)","8.1% incl.","8.1","percent","sale","tax_group_vat_81","True","1","False","","base","invoice","+303a","","UST 8,1% Lief./DL (inkl. MWST)","IVA dovuta al 8,1% (Incl. TN)","TVA due à 8,1% (Incl. TN)" +"vat_sale_81_incl","8.1% INC","8.1% Sales (incl.)","8.1% incl.","8.1","percent","sale","tax_group_vat_81","True","1","True","","base","invoice","+303a","","UST 8,1% Lief./DL (inkl. MWST)","IVA dovuta al 8,1% (Incl. TN)","TVA due à 8,1% (Incl. TN)" "","","","","","","","","","","","","tax","invoice","+303b","ch_coa_2200","","","" "","","","","","","","","","","","","base","refund","-303a","","","","" "","","","","","","","","","","","","tax","refund","-303b","ch_coa_2200","","","" -"vat_purchase_81","8.1%","8.1% on goods and services","8.1%","8.1","percent","purchase","tax_group_vat_81","","1","False","","base","invoice","","","VST 8,1% Mat.-/DL (exkl. MWST)","IVA 8,1% sull'acquisto di B&S (TN)","TVA 8,1% sur achat B&S (TN)" +"vat_purchase_81","8.1%","8.1% on goods and services","8.1%","8.1","percent","purchase","tax_group_vat_81","","1","True","","base","invoice","","","VST 8,1% Mat.-/DL (exkl. MWST)","IVA 8,1% sull'acquisto di B&S (TN)","TVA 8,1% sur achat B&S (TN)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_purchase_81_incl","8.1% INC","8.1% on goods and services (incl.)","8.1% incl.","8.1","percent","purchase","tax_group_vat_81","True","1","False","","base","invoice","","","VST 8,1% Mat.-/DL (inkl. MWST)","IVA 8,1% sull'acquisto di B&S (Incl. TN)","TVA 8,1% sur achat B&S (Incl. TN)" +"vat_purchase_81_incl","8.1% INC","8.1% on goods and services (incl.)","8.1% incl.","8.1","percent","purchase","tax_group_vat_81","True","1","True","","base","invoice","","","VST 8,1% Mat.-/DL (inkl. MWST)","IVA 8,1% sull'acquisto di B&S (Incl. TN)","TVA 8,1% sur achat B&S (Incl. TN)" "","","","","","","","","","","","","tax","invoice","+400","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-400","ch_coa_1170","","","" -"vat_purchase_81_invest","8.1% I OE","8.1% on invest. and others expenses","8.1% invest.","8.1","percent","purchase","tax_group_vat_81","","","False","","base","invoice","","","VST 8,1% Inv./übr.BA (exkl. MWST)","IVA 8,1% su investimenti e altre voci (TN)","TVA 8,1% sur invest. et autres ch. (TN)" +"vat_purchase_81_invest","8.1% I OE","8.1% on invest. and others expenses","8.1% invest.","8.1","percent","purchase","tax_group_vat_81","","","True","","base","invoice","","","VST 8,1% Inv./übr.BA (exkl. MWST)","IVA 8,1% su investimenti e altre voci (TN)","TVA 8,1% sur invest. et autres ch. (TN)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_purchase_81_invest_incl","8.1% I OE INC","8.1% on invest. and others expenses (incl.)","8.1% invest. incl.","8.1","percent","purchase","tax_group_vat_81","True","","False","","base","invoice","","","VST 8,1% Inv./übr.BA (inkl. MWST)","IVA 8,1% su investimenti e altre voci (incl. TN)","TVA 8,1% sur invest. et autres ch. (Incl. TN)" +"vat_purchase_81_invest_incl","8.1% I OE INC","8.1% on invest. and others expenses (incl.)","8.1% invest. incl.","8.1","percent","purchase","tax_group_vat_81","True","","True","","base","invoice","","","VST 8,1% Inv./übr.BA (inkl. MWST)","IVA 8,1% su investimenti e altre voci (incl. TN)","TVA 8,1% sur invest. et autres ch. (Incl. TN)" "","","","","","","","","","","","","tax","invoice","+405","ch_coa_1171","","","" "","","","","","","","","","","","","base","refund","","","","","" "","","","","","","","","","","","","tax","refund","-405","ch_coa_1171","","","" -"vat_purchase_81_return","8.1% R","8.1% Sales (return)","8.1% return","-8.1","percent","none","tax_group_vat_81","","0","False","","base","invoice","-383a","","UST 8,1% Bezugssteuer","IVA dovuta al 8,1% (TN) (rendimento)","TVA due à 8,1% (TN) (return)" +"vat_purchase_81_return","8.1% R","8.1% Sales (return)","8.1% return","-8.1","percent","none","tax_group_vat_81","","0","True","","base","invoice","-383a","","UST 8,1% Bezugssteuer","IVA dovuta al 8,1% (TN) (rendimento)","TVA due à 8,1% (TN) (return)" "","","","","","","","","","","","","tax","invoice","-383b","ch_coa_1170","","","" "","","","","","","","","","","","","base","refund","+383a","","","","" "","","","","","","","","","","","","tax","refund","+383b","ch_coa_1170","","","" -"vat_purchase_81_reverse","8.1% R C","8.1% on purchase of service abroad (reverse charge)","8.1% reverse","","group","purchase","tax_group_vat_81","","","False","vat_purchase_81_return,vat_purchase_81","","","","","BZS 8,1% Bezugssteuer","IVA 8,1% sull'acquisto di servizi all'estero (reverse charge)","TVA 8,1% sur achat service a l'étranger (reverse charge)" +"vat_purchase_81_reverse","8.1% R C","8.1% on purchase of service abroad (reverse charge)","8.1% reverse","","group","purchase","tax_group_vat_81","","","True","vat_purchase_81_return,vat_purchase_81","","","","","BZS 8,1% Bezugssteuer","IVA 8,1% sull'acquisto di servizi all'estero (reverse charge)","TVA 8,1% sur achat service a l'étranger (reverse charge)" diff --git a/addons/l10n_ch/data/template/account.tax.group-ch.csv b/addons/l10n_ch/data/template/account.tax.group-ch.csv index 647f69c8559..22bd9969eb1 100644 --- a/addons/l10n_ch/data/template/account.tax.group-ch.csv +++ b/addons/l10n_ch/data/template/account.tax.group-ch.csv @@ -5,5 +5,5 @@ "tax_group_tva_77","VAT 7.7%","base.ch","MwSt. 7,7%","TVA 7,7%","IVA 7,7%","","TVA 7.7%" "tax_group_tva_100","VAT 100%","base.ch","MwSt. 100%","TVA 100%","IVA 100%","","" "tax_group_vat_26","VAT 2.6%","base.ch","MwSt. 2,6%","TVA 2,6%","IVA 2,6%","","" -"tax_group_vat_38","VAT 3.8%","base.ch","MwSt. 3,8%","TVA 3,8%","IVA 3,8%","","TVA 3.7%" -"tax_group_vat_81","VAT 8.1%","base.ch","MwSt. 8,1%","TVA 8,1%","IVA 8,1%","","TVA 7.7%" +"tax_group_vat_38","VAT 3.8%","base.ch","MwSt. 3,8%","TVA 3,8%","IVA 3,8%","","" +"tax_group_vat_81","VAT 8.1%","base.ch","MwSt. 8,1%","TVA 8,1%","IVA 8,1%","","" diff --git a/addons/l10n_ch/migrations/11.1/post-migrate_update_taxes.py b/addons/l10n_ch/migrations/11.1/post-migrate_update_taxes.py index fb8c8112c91..6b420315510 100644 --- a/addons/l10n_ch/migrations/11.1/post-migrate_update_taxes.py +++ b/addons/l10n_ch/migrations/11.1/post-migrate_update_taxes.py @@ -5,4 +5,4 @@ from odoo import api, SUPERUSER_ID def migrate(cr, version): env = api.Environment(cr, SUPERUSER_ID, {}) for company in env['res.company'].search([('chart_template', '=', 'ch')]): - env['account.chart.template'].with_context(force_new_tax_active=True).try_loading('ch', company) + env['account.chart.template'].try_loading('ch', company) diff --git a/addons/l10n_ch/models/template_ch.py b/addons/l10n_ch/models/template_ch.py index b162e43f94d..22a139aec41 100644 --- a/addons/l10n_ch/models/template_ch.py +++ b/addons/l10n_ch/models/template_ch.py @@ -33,6 +33,8 @@ class AccountChartTemplate(models.AbstractModel): 'account_journal_early_pay_discount_gain_account_id': 'ch_coa_3801', 'default_cash_difference_expense_account_id': 'ch_coa_4991', 'default_cash_difference_income_account_id': 'ch_coa_4992', + 'account_sale_tax_id': 'vat_sale_81', + 'account_purchase_tax_id': 'vat_purchase_81', 'external_report_layout_id': 'l10n_din5008.external_layout_din5008', 'paperformat_id': 'l10n_din5008.paperformat_euro_din', 'account_sale_tax_id': 'vat_77',