From 2d0cf9bdb92a9aa2a671024362c66b78bf598dc1 Mon Sep 17 00:00:00 2001 From: aliya Date: Wed, 6 Dec 2023 16:57:49 +0000 Subject: [PATCH] [FIX] l10n_ee: add taxes with the new VAT rate The VAT rate is increasing from 20% to 22% from January 1st, 2024. We need to keep both 20% and 22% taxes until the end 2025 for phasing out period. 20% taxes will be inactive for new customers. task-3615036 closes odoo/odoo#147331 X-original-commit: 2c41415f1010fac3bfcc510fc08f659cfe009420 Related: odoo/enterprise#53321 Signed-off-by: Josse Colpaert Signed-off-by: Aliya Tastemirova (alta) --- addons/l10n_ee/__manifest__.py | 2 +- .../l10n_ee/data/account_tax_report_data.xml | 13 +++- .../template/account.fiscal.position-ee.csv | 23 ++++-- .../l10n_ee/data/template/account.tax-ee.csv | 76 +++++++++++++++++-- .../data/template/account.tax.group-ee.csv | 1 + addons/l10n_ee/i18n/et.po | 9 ++- addons/l10n_ee/i18n/l10n_ee.pot | 7 +- .../1.1/post-migrate_update_taxes.py | 7 ++ 8 files changed, 117 insertions(+), 21 deletions(-) create mode 100644 addons/l10n_ee/migrations/1.1/post-migrate_update_taxes.py diff --git a/addons/l10n_ee/__manifest__.py b/addons/l10n_ee/__manifest__.py index 27711bba978..65f4b91dc19 100644 --- a/addons/l10n_ee/__manifest__.py +++ b/addons/l10n_ee/__manifest__.py @@ -2,7 +2,7 @@ { 'name': 'Estonia - Accounting', 'website': 'https://www.odoo.com/documentation/17.0/applications/finance/fiscal_localizations.html', - 'version': '1.0', + 'version': '1.1', 'icon': '/account/static/description/l10n.png', 'countries': ['ee'], 'category': 'Accounting/Localizations/Account Charts', diff --git a/addons/l10n_ee/data/account_tax_report_data.xml b/addons/l10n_ee/data/account_tax_report_data.xml index a7da222e8ef..9d718a63c0f 100644 --- a/addons/l10n_ee/data/account_tax_report_data.xml +++ b/addons/l10n_ee/data/account_tax_report_data.xml @@ -14,7 +14,7 @@ - 1 - Acts and transactions subject to tax at a rate of 20% + 1 - Acts and transactions subject to tax at a rate of 22% l10n_ee_vat_1 0 @@ -25,6 +25,17 @@ + + 1¹ - Acts and transactions subject to tax at a rate of 20% + l10n_ee_vat_1_1 + + + balance + tax_tags + 1_1 + + + 2 - Acts and transactions subject to tax at a rate of 9% l10n_ee_vat_2 diff --git a/addons/l10n_ee/data/template/account.fiscal.position-ee.csv b/addons/l10n_ee/data/template/account.fiscal.position-ee.csv index a43b6dc8094..564f043249b 100644 --- a/addons/l10n_ee/data/template/account.fiscal.position-ee.csv +++ b/addons/l10n_ee/data/template/account.fiscal.position-ee.csv @@ -2,26 +2,31 @@ "afpt_national","1","National","1","1","base.ee","","","","","","Riiklik" "afpt_eu_private","2","EU Private","1","","","base.europe","","","","","ELi eraisik" "afpt_eu_ic","3","EU Intra-Community","1","1","","base.europe","l10n_ee_vat_out_20_g","l10n_ee_vat_out_0_eu_g","","","ELi ühendusesisene" +"","","","","","","","l10n_ee_vat_out_22_g","l10n_ee_vat_out_0_eu_g","","","" "","","","","","","","l10n_ee_vat_out_20_s","l10n_ee_vat_out_0_eu_s","","","" +"","","","","","","","l10n_ee_vat_out_22_s","l10n_ee_vat_out_0_eu_s","","","" "","","","","","","","l10n_ee_vat_out_9_g","l10n_ee_vat_out_0_eu_g","","","" "","","","","","","","l10n_ee_vat_out_9_s","l10n_ee_vat_out_0_eu_s","","","" "","","","","","","","l10n_ee_vat_out_5_g","l10n_ee_vat_out_0_eu_g","","","" "","","","","","","","l10n_ee_vat_out_5_s","l10n_ee_vat_out_0_eu_s","","","" "","","","","","","","l10n_ee_vat_out_0_g","l10n_ee_vat_out_0_eu_g","","","" "","","","","","","","l10n_ee_vat_out_0_s","l10n_ee_vat_out_0_eu_s","","","" -"","","","","","","","l10n_ee_vat_in_20_g","l10n_ee_vat_in_0_eu_g","","","" -"","","","","","","","l10n_ee_vat_in_20_s","l10n_ee_vat_in_0_eu_s","","","" -"","","","","","","","l10n_ee_vat_in_9_g","l10n_ee_vat_in_0_eu_g","","","" -"","","","","","","","l10n_ee_vat_in_9_s","l10n_ee_vat_in_0_eu_s","","","" -"","","","","","","","l10n_ee_vat_in_5_g","l10n_ee_vat_in_0_eu_g","","","" -"","","","","","","","l10n_ee_vat_in_5_s","l10n_ee_vat_in_0_eu_s","","","" -"","","","","","","","l10n_ee_vat_in_0_g","l10n_ee_vat_in_0_eu_g","","","" -"","","","","","","","l10n_ee_vat_in_0_s","l10n_ee_vat_in_0_eu_s","","","" +"","","","","","","","l10n_ee_vat_in_20_g","l10n_ee_vat_in_0_eu_g_22","","","" +"","","","","","","","l10n_ee_vat_in_20_s","l10n_ee_vat_in_0_eu_s_22","","","" +"","","","","","","","l10n_ee_vat_in_22_s","l10n_ee_vat_in_0_eu_s_22","","","" +"","","","","","","","l10n_ee_vat_in_9_g","l10n_ee_vat_in_0_eu_g_22","","","" +"","","","","","","","l10n_ee_vat_in_9_s","l10n_ee_vat_in_0_eu_s_22","","","" +"","","","","","","","l10n_ee_vat_in_5_g","l10n_ee_vat_in_0_eu_g_22","","","" +"","","","","","","","l10n_ee_vat_in_5_s","l10n_ee_vat_in_0_eu_s_22","","","" +"","","","","","","","l10n_ee_vat_in_0_g","l10n_ee_vat_in_0_eu_g_22","","","" +"","","","","","","","l10n_ee_vat_in_0_s","l10n_ee_vat_in_0_eu_s_22","","","" "","","","","","","","","","l10n_ee_40000","l10n_ee_40100","" "","","","","","","","","","l10n_ee_40001","l10n_ee_40101","" "","","","","","","","","","l10n_ee_4001","l10n_ee_4011","" "afpt_imp_exp","4","Import/Export","1","","","","l10n_ee_vat_out_20_g","l10n_ee_vat_out_0_exp_g","","","Import/Eksport" +"","","","","","","","l10n_ee_vat_out_22_g","l10n_ee_vat_out_0_exp_g","","","" "","","","","","","","l10n_ee_vat_out_20_s","l10n_ee_vat_out_0_exp_s","","","" +"","","","","","","","l10n_ee_vat_out_22_s","l10n_ee_vat_out_0_exp_s","","","" "","","","","","","","l10n_ee_vat_out_9_g","l10n_ee_vat_out_0_exp_g","","","" "","","","","","","","l10n_ee_vat_out_9_s","l10n_ee_vat_out_0_exp_s","","","" "","","","","","","","l10n_ee_vat_out_5_g","l10n_ee_vat_out_0_exp_g","","","" @@ -29,7 +34,9 @@ "","","","","","","","l10n_ee_vat_out_0_g","l10n_ee_vat_out_0_exp_g","","","" "","","","","","","","l10n_ee_vat_out_0_s","l10n_ee_vat_out_0_exp_s","","","" "","","","","","","","l10n_ee_vat_in_20_g","l10n_ee_vat_in_20_imp_kms_38","","","" +"","","","","","","","l10n_ee_vat_in_22_g","l10n_ee_vat_in_22_imp_kms_38","","","" "","","","","","","","l10n_ee_vat_in_20_s","l10n_ee_vat_in_20_imp_kms_38","","","" +"","","","","","","","l10n_ee_vat_in_22_s","l10n_ee_vat_in_22_imp_kms_38","","","" "","","","","","","","l10n_ee_vat_in_9_g","l10n_ee_vat_in_9_imp_kms_38","","","" "","","","","","","","l10n_ee_vat_in_9_s","l10n_ee_vat_in_9_imp_kms_38","","","" "","","","","","","","l10n_ee_vat_in_5_g","l10n_ee_vat_in_5_imp_kms_38","","","" diff --git a/addons/l10n_ee/data/template/account.tax-ee.csv b/addons/l10n_ee/data/template/account.tax-ee.csv index 11f350b2a09..c31549923e5 100644 --- a/addons/l10n_ee/data/template/account.tax-ee.csv +++ b/addons/l10n_ee/data/template/account.tax-ee.csv @@ -1,9 +1,17 @@ "id","sequence","name","type_tax_use","amount","amount_type","description","tax_group_id","active","l10n_ee_kmd_inf_code","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","repartition_line_ids/factor_percent","name@et" -"l10n_ee_vat_out_20_g","10","20% G","sale","20.0","percent","20%","tax_group_vat_20","","","base","invoice","+1","","","20% K" +"l10n_ee_vat_out_20_g","10","20% G","sale","20.0","percent","20%","tax_group_vat_20","False","","base","invoice","+1_1","","","20% K" +"","","","","","","","","","","tax","invoice","","l10n_ee_201204","","" +"","","","","","","","","","","base","refund","-1_1","","","" +"","","","","","","","","","","tax","refund","","l10n_ee_201204","","" +"l10n_ee_vat_out_22_g","11","22% G","sale","22.0","percent","22%","tax_group_vat_22","","","base","invoice","+1","","","22% K" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","","" "","","","","","","","","","","base","refund","-1","","","" "","","","","","","","","","","tax","refund","","l10n_ee_201204","","" -"l10n_ee_vat_out_20_s","20","20% S","sale","20.0","percent","20%","tax_group_vat_20","","","base","invoice","+1","","","20% T" +"l10n_ee_vat_out_20_s","20","20% S","sale","20.0","percent","20%","tax_group_vat_20","False","","base","invoice","+1_1","","","20% T" +"","","","","","","","","","","tax","invoice","","l10n_ee_201204","","" +"","","","","","","","","","","base","refund","-1_1","","","" +"","","","","","","","","","","tax","refund","","l10n_ee_201204","","" +"l10n_ee_vat_out_22_s","21","22% S","sale","22.0","percent","22%","tax_group_vat_22","","","base","invoice","+1","","","22% T" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","","" "","","","","","","","","","","base","refund","-1","","","" "","","","","","","","","","","tax","refund","","l10n_ee_201204","","" @@ -65,11 +73,25 @@ "","","","","","","","","","","base","refund","-9","","","" "","","","","","","","","","","tax","refund","","l10n_ee_201204","100","" "","","","","","","","","","","tax","refund","","l10n_ee_201204","-100","" -"l10n_ee_vat_in_20_g","170","20% G","purchase","20.0","percent","20%","tax_group_vat_20","","","base","invoice","","","","20% K" +"l10n_ee_vat_out_0_kms_41_2","161","0% KMS §41¹","sale","22.0","percent","22% Special","tax_group_vat_22","False","2","base","invoice","+9","","","0% KMS §41¹" +"","","","","","","","","","","tax","invoice","","l10n_ee_201204","100","" +"","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" +"","","","","","","","","","","base","refund","-9","","","" +"","","","","","","","","","","tax","refund","","l10n_ee_201204","100","" +"","","","","","","","","","","tax","refund","","l10n_ee_201204","-100","" +"l10n_ee_vat_in_20_g","170","20% G","purchase","20.0","percent","20%","tax_group_vat_20","False","","base","invoice","","","","20% K" "","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","-5","l10n_ee_201201","","" -"l10n_ee_vat_in_20_s","180","20% S","purchase","20.0","percent","20%","tax_group_vat_20","","","base","invoice","","","","20% T" +"l10n_ee_vat_in_22_g","171","22% G","purchase","22.0","percent","22%","tax_group_vat_22","","","base","invoice","","","","22% K" +"","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","","" +"","","","","","","","","","","base","refund","","","","" +"","","","","","","","","","","tax","refund","-5","l10n_ee_201201","","" +"l10n_ee_vat_in_20_s","180","20% S","purchase","20.0","percent","20%","tax_group_vat_20","False","","base","invoice","","","","20% T" +"","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","","" +"","","","","","","","","","","base","refund","","","","" +"","","","","","","","","","","tax","refund","-5","l10n_ee_201201","","" +"l10n_ee_vat_in_22_s","181","22% S","purchase","22.0","percent","22%","tax_group_vat_22","","","base","invoice","","","","22% T" "","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","-5","l10n_ee_201201","","" @@ -97,19 +119,31 @@ "","","","","","","","","","","tax","invoice","","","","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","","","","" -"l10n_ee_vat_in_0_eu_g","250","0% EU G 20%","purchase","20.0","percent","0% EU","tax_group_vat_0","","","base","invoice","+1||+6_1","","","0% EL K 20%" +"l10n_ee_vat_in_0_eu_g","250","0% EU G 20%","purchase","20.0","percent","0% EU","tax_group_vat_0","False","","base","invoice","+1_1||+6_1","","","0% EL K 20%" +"","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","100","" +"","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" +"","","","","","","","","","","base","refund","-1_1||-6_1","","","" +"","","","","","","","","","","tax","refund","-5","l10n_ee_201201","100","" +"","","","","","","","","","","tax","refund","","l10n_ee_201204","-100","" +"l10n_ee_vat_in_0_eu_g_22","251","0% EU G 22%","purchase","22.0","percent","0% EU","tax_group_vat_0","","","base","invoice","+1||+6_1","","","0% EL K 22%" "","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","100","" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" "","","","","","","","","","","base","refund","-1||-6_1","","","" "","","","","","","","","","","tax","refund","-5","l10n_ee_201201","100","" "","","","","","","","","","","tax","refund","","l10n_ee_201204","-100","" -"l10n_ee_vat_in_0_eu_s","260","0% EU S 20%","purchase","20.0","percent","0% EU","tax_group_vat_0","","","base","invoice","+1||+6","","","0% EL T 20%" +"l10n_ee_vat_in_0_eu_s","260","0% EU S 20%","purchase","20.0","percent","0% EU","tax_group_vat_0","False","","base","invoice","+1_1||+6","","","0% EL T 20%" +"","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","100","" +"","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" +"","","","","","","","","","","base","refund","-1_1||-6","","","" +"","","","","","","","","","","tax","refund","-5","l10n_ee_201201","100","" +"","","","","","","","","","","tax","refund","","l10n_ee_201204","-100","" +"l10n_ee_vat_in_0_eu_s_22","261","0% EU S 22%","purchase","22.0","percent","0% EU","tax_group_vat_0","","","base","invoice","+1||+6","","","0% EL T 22%" "","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","100","" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" "","","","","","","","","","","base","refund","-1||-6","","","" "","","","","","","","","","","tax","refund","-5","l10n_ee_201201","100","" "","","","","","","","","","","tax","refund","","l10n_ee_201204","-100","" -"l10n_ee_vat_in_20_car","270","20% Car","purchase","20.0","percent","20%","tax_group_vat_20","","","base","invoice","","","","20% Auto" +"l10n_ee_vat_in_20_car","270","20% Car","purchase","20.0","percent","20%","tax_group_vat_20","False","","base","invoice","","","","20% Auto" "","","","","","","","","","","tax","invoice","+5_3","l10n_ee_201201","","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","-5_3","l10n_ee_201201","","" @@ -119,10 +153,24 @@ "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","-5_4","l10n_ee_201201","50","" "","","","","","","","","","","tax","refund","","","50","" +"l10n_ee_vat_in_22_car","271","22% Car","purchase","22.0","percent","22%","tax_group_vat_22","","","base","invoice","","","","22% Auto" +"","","","","","","","","","","tax","invoice","+5_3","l10n_ee_201201","","" +"","","","","","","","","","","base","refund","","","","" +"","","","","","","","","","","tax","refund","-5_3","l10n_ee_201201","","" +"l10n_ee_vat_in_22_car_part","281","22% Car 50%","purchase","22.0","percent","22%","tax_group_vat_22","False","","base","invoice","","","","22% Auto 50%" +"","","","","","","","","","","tax","invoice","+5_4","l10n_ee_201201","50","" +"","","","","","","","","","","tax","invoice","","","50","" +"","","","","","","","","","","base","refund","","","","" +"","","","","","","","","","","tax","refund","-5_4","l10n_ee_201201","50","" +"","","","","","","","","","","tax","refund","","","50","" "l10n_ee_vat_in_20_assets","290","20% Fixed Assets","purchase","20.0","percent","20%","tax_group_vat_20","False","","base","invoice","","","","20% Põhivara" "","","","","","","","","","","tax","invoice","+5_2","l10n_ee_201202","","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","-5_2","l10n_ee_201202","","" +"l10n_ee_vat_in_22_assets","291","22% Fixed Assets","purchase","22.0","percent","22%","tax_group_vat_22","False","","base","invoice","","","","22% Põhivara" +"","","","","","","","","","","tax","invoice","+5_2","l10n_ee_201202","","" +"","","","","","","","","","","base","refund","","","","" +"","","","","","","","","","","tax","refund","-5_2","l10n_ee_201202","","" "l10n_ee_vat_in_imp_cus","300","EX VAT Customs","purchase","0.0","percent","Import VAT","tax_group_vat_20","","","base","invoice","+5_1","","","EX KM Toll" "","","","","","","","","","","tax","invoice","","","","" "","","","","","","","","","","base","refund","-5_1","","","" @@ -133,6 +181,12 @@ "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","-5_1","l10n_ee_201201","100","" "","","","","","","","","","","tax","refund","+4_1","l10n_ee_201204","-100","" +"l10n_ee_vat_in_22_imp_kms_38","311","22% EX KMS §38","purchase","22.0","percent","22%","tax_group_vat_22","False","","base","invoice","","","","22% EX KMS §38" +"","","","","","","","","","","tax","invoice","+5_1","l10n_ee_201201","100","" +"","","","","","","","","","","tax","invoice","-4_1","l10n_ee_201204","-100","" +"","","","","","","","","","","base","refund","","","","" +"","","","","","","","","","","tax","refund","-5_1","l10n_ee_201201","100","" +"","","","","","","","","","","tax","refund","+4_1","l10n_ee_201204","-100","" "l10n_ee_vat_in_9_imp_kms_38","330","9% EX KMS §38","purchase","9.0","percent","9%","tax_group_vat_9","False","","base","invoice","","","","9% EX KMS §38" "","","","","","","","","","","tax","invoice","+5_1","l10n_ee_201201","100","" "","","","","","","","","","","tax","invoice","-4_1","l10n_ee_201204","-100","" @@ -149,7 +203,13 @@ "","","","","","","","","","","tax","invoice","","","","" "","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","tax","refund","","","","" -"l10n_ee_vat_in_0_kms_41_1","370","0% KMS §41¹","purchase","20.0","percent","0%","tax_group_vat_20","False","12","base","invoice","+1||+7_1","","","0% KMS §41¹" +"l10n_ee_vat_in_0_kms_41_1","370","0% KMS §41¹","purchase","20.0","percent","0%","tax_group_vat_20","False","12","base","invoice","+1_1||+7_1","","","0% KMS §41¹" +"","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","100","" +"","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" +"","","","","","","","","","","base","refund","-1_1||-7_1","","","" +"","","","","","","","","","","tax","refund","-5","l10n_ee_201201","100","" +"","","","","","","","","","","tax","refund","","l10n_ee_201204","-100","" +"l10n_ee_vat_in_0_kms_41_2","370","0% KMS §41¹","purchase","22.0","percent","0%","tax_group_vat_22","False","12","base","invoice","+1||+7_1","","","0% KMS §41¹" "","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","100","" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" "","","","","","","","","","","base","refund","-1||-7_1","","","" diff --git a/addons/l10n_ee/data/template/account.tax.group-ee.csv b/addons/l10n_ee/data/template/account.tax.group-ee.csv index 38551c905fb..eecade2bfef 100644 --- a/addons/l10n_ee/data/template/account.tax.group-ee.csv +++ b/addons/l10n_ee/data/template/account.tax.group-ee.csv @@ -1,5 +1,6 @@ "id","name","country_id","tax_receivable_account_id","tax_payable_account_id","name@et" "tax_group_vat_20","VAT 20%","base.ee","l10n_ee_201200","l10n_ee_201200","KM 20%" +"tax_group_vat_22","VAT 22%","base.ee","l10n_ee_201200","l10n_ee_201200","KM 22%" "tax_group_vat_9","VAT 9%","base.ee","l10n_ee_201200","l10n_ee_201200","KM 9%" "tax_group_vat_5","VAT 5%","base.ee","l10n_ee_201200","l10n_ee_201200","KM 5%" "tax_group_vat_0","VAT 0%","base.ee","l10n_ee_201200","l10n_ee_201200","KM 0%" diff --git a/addons/l10n_ee/i18n/et.po b/addons/l10n_ee/i18n/et.po index 409b575d594..2b8c13b7112 100644 --- a/addons/l10n_ee/i18n/et.po +++ b/addons/l10n_ee/i18n/et.po @@ -19,8 +19,8 @@ msgstr "" #. module: l10n_ee #: model:account.report.line,name:l10n_ee.tax_report_line_1 -msgid "1 - Acts and transactions subject to tax at a rate of 20%" -msgstr "1 - 20% määraga maksustatavad toimingud ja tehingud" +msgid "1 - Acts and transactions subject to tax at a rate of 22%" +msgstr "1 - 22% määraga maksustatavad toimingud ja tehingud" #. module: l10n_ee #: model:account.report.line,name:l10n_ee.tax_report_line_10 @@ -42,6 +42,11 @@ msgstr "12 - Tasumisele kuuluv käibemaks" msgid "13 - Overpaid value added tax" msgstr "13 - Enammakstud käibemaks" +#. module: l10n_ee +#: model:account.report.line,name:l10n_ee.tax_report_line_1_1 +msgid "1¹ - Acts and transactions subject to tax at a rate of 20%" +msgstr "1¹ - 20% määraga maksustatavad toimingud ja tehingud" + #. module: l10n_ee #: model:account.report.line,name:l10n_ee.tax_report_line_2 msgid "2 - Acts and transactions subject to tax at a rate of 9%" diff --git a/addons/l10n_ee/i18n/l10n_ee.pot b/addons/l10n_ee/i18n/l10n_ee.pot index 3330c38a3ac..3b535b45dfe 100644 --- a/addons/l10n_ee/i18n/l10n_ee.pot +++ b/addons/l10n_ee/i18n/l10n_ee.pot @@ -17,7 +17,7 @@ msgstr "" #. module: l10n_ee #: model:account.report.line,name:l10n_ee.tax_report_line_1 -msgid "1 - Acts and transactions subject to tax at a rate of 20%" +msgid "1 - Acts and transactions subject to tax at a rate of 22%" msgstr "" #. module: l10n_ee @@ -40,6 +40,11 @@ msgstr "" msgid "13 - Overpaid value added tax" msgstr "" +#. module: l10n_ee +#: model:account.report.line,name:l10n_ee.tax_report_line_1_1 +msgid "1¹ - Acts and transactions subject to tax at a rate of 20%" +msgstr "" + #. module: l10n_ee #: model:account.report.line,name:l10n_ee.tax_report_line_2 msgid "2 - Acts and transactions subject to tax at a rate of 9%" diff --git a/addons/l10n_ee/migrations/1.1/post-migrate_update_taxes.py b/addons/l10n_ee/migrations/1.1/post-migrate_update_taxes.py new file mode 100644 index 00000000000..9f5d0fa0190 --- /dev/null +++ b/addons/l10n_ee/migrations/1.1/post-migrate_update_taxes.py @@ -0,0 +1,7 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. +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', '=', 'ee')]): + env['account.chart.template'].try_loading('ee', company)