From dfd85a853791dd4b8e2f793a7ab158d0dee2da50 Mon Sep 17 00:00:00 2001 From: Ethan Vincent Date: Tue, 30 Jan 2024 14:41:29 +0100 Subject: [PATCH] [FIX] l10n_ee: update tax acct names to be unique MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Current behavior:** Creating a new company and trying to switch to the l10n_ee accounting localization package will result in a validation error, preventing the installation. **Expected behavior:** The package should be installed and automatically activated for the active company. **Steps to reproduce:** 0. Install the l10n_ee accounting module 1. Create a new company such that no fiscal localization package is active by default, then switch to this new company in the selection in the top right 2. In Accounting settings, select the Estonia fiscal localization package and save (this causes the exception) **Cause of the issue:** Certain tax accounts in the module do not have their names fully updated. They all were labeled as "0% ..." instead of their true percentages like all other tax accounts. **Fix:** Update the names of the offending tax accounts so that they are fully reflective of their true %. opw-3683538 closes odoo/odoo#154169 X-original-commit: 33d880cc733b90903e2facd21c134dbdc2e58de1 Related: odoo/enterprise#56693 Signed-off-by: de Wouters de Bouchout Jean-Benoît (jbw) Signed-off-by: Vincent Ethan --- addons/l10n_ee/data/template/account.tax-ee.csv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/l10n_ee/data/template/account.tax-ee.csv b/addons/l10n_ee/data/template/account.tax-ee.csv index c31549923e5..d8e00cd21ac 100644 --- a/addons/l10n_ee/data/template/account.tax-ee.csv +++ b/addons/l10n_ee/data/template/account.tax-ee.csv @@ -67,13 +67,13 @@ "","","","","","","","","","","tax","invoice","","","","" "","","","","","","","","","","base","refund","-8","","","" "","","","","","","","","","","tax","refund","","","","" -"l10n_ee_vat_out_0_kms_41_1","160","0% KMS §41¹","sale","20.0","percent","20% Special","tax_group_vat_20","False","2","base","invoice","+9","","","0% KMS §41¹" +"l10n_ee_vat_out_0_kms_41_1","160","20% KMS §41¹","sale","20.0","percent","20% Special","tax_group_vat_20","False","2","base","invoice","+9","","","20% 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_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¹" +"l10n_ee_vat_out_0_kms_41_2","161","22% KMS §41¹","sale","22.0","percent","22% Special","tax_group_vat_22","False","2","base","invoice","+9","","","22% KMS §41¹" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","100","" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" "","","","","","","","","","","base","refund","-9","","","" @@ -203,13 +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_1||+7_1","","","0% KMS §41¹" +"l10n_ee_vat_in_0_kms_41_1","370","20% KMS §41¹","purchase","20.0","percent","20%","tax_group_vat_20","False","12","base","invoice","+1_1||+7_1","","","20% 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¹" +"l10n_ee_vat_in_0_kms_41_2","370","22% KMS §41¹","purchase","22.0","percent","22%","tax_group_vat_22","False","12","base","invoice","+1||+7_1","","","22% KMS §41¹" "","","","","","","","","","","tax","invoice","+5","l10n_ee_201201","100","" "","","","","","","","","","","tax","invoice","","l10n_ee_201204","-100","" "","","","","","","","","","","base","refund","-1||-7_1","","",""