[FIX] l10n_ee: update tax acct names to be unique

**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) <jbw@odoo.com>
Signed-off-by: Vincent Ethan <etvi@odoo.com>
This commit is contained in:
Ethan Vincent
2024-02-17 00:25:58 +00:00
parent 0fad0d694e
commit dfd85a8537
@@ -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","","",""
1 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
67 tax invoice
68 base refund -8
69 tax refund
70 l10n_ee_vat_out_0_kms_41_1 160 0% KMS §41¹ 20% KMS §41¹ sale 20.0 percent 20% Special tax_group_vat_20 False 2 base invoice +9 0% KMS §41¹ 20% KMS §41¹
71 tax invoice l10n_ee_201204 100
72 tax invoice l10n_ee_201204 -100
73 base refund -9
74 tax refund l10n_ee_201204 100
75 tax refund l10n_ee_201204 -100
76 l10n_ee_vat_out_0_kms_41_2 161 0% KMS §41¹ 22% KMS §41¹ sale 22.0 percent 22% Special tax_group_vat_22 False 2 base invoice +9 0% KMS §41¹ 22% KMS §41¹
77 tax invoice l10n_ee_201204 100
78 tax invoice l10n_ee_201204 -100
79 base refund -9
203 tax invoice
204 base refund
205 tax refund
206 l10n_ee_vat_in_0_kms_41_1 370 0% KMS §41¹ 20% KMS §41¹ purchase 20.0 percent 0% 20% tax_group_vat_20 False 12 base invoice +1_1||+7_1 0% KMS §41¹ 20% KMS §41¹
207 tax invoice +5 l10n_ee_201201 100
208 tax invoice l10n_ee_201204 -100
209 base refund -1_1||-7_1
210 tax refund -5 l10n_ee_201201 100
211 tax refund l10n_ee_201204 -100
212 l10n_ee_vat_in_0_kms_41_2 370 0% KMS §41¹ 22% KMS §41¹ purchase 22.0 percent 0% 22% tax_group_vat_22 False 12 base invoice +1||+7_1 0% KMS §41¹ 22% KMS §41¹
213 tax invoice +5 l10n_ee_201201 100
214 tax invoice l10n_ee_201204 -100
215 base refund -1||-7_1