From 02322b3124733a808df3d2421fe7839788fef619 Mon Sep 17 00:00:00 2001 From: Ethan Vincent Date: Mon, 11 Mar 2024 09:40:41 +0100 Subject: [PATCH] [FIX] l10n_dz: make 0% immo tax names unique **Current behavior:** Trying to select the Algerian fiscal localization for a company after installing the respective module is impossible. **Expected behavior:** The localization package should be installable after the module has been installed. **Steps to reproduce:** 1. Install `l10n_dz` and create a new company without any fiscal localization 2. In the fresh company, select `Algeria` as the fiscal localization package, observe the error **Cause of the issue:** Two tax names in the module's tax data file have the same values for a field that should be unique. **Fix:** Change the values in the identical fields. opw-3787096 closes odoo/odoo#158877 X-original-commit: 122d9e8827ef26f72ff967b164ec550d349a6ee4 Signed-off-by: John Laterre (jol) Signed-off-by: Vincent Ethan --- addons/l10n_dz/data/template/account.tax-dz.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/l10n_dz/data/template/account.tax-dz.csv b/addons/l10n_dz/data/template/account.tax-dz.csv index 3dbfd179304..20cf78dd8cc 100644 --- a/addons/l10n_dz/data/template/account.tax-dz.csv +++ b/addons/l10n_dz/data/template/account.tax-dz.csv @@ -27,7 +27,7 @@ l10n_dz_vat_sale_9_immo,,9% Real Estate,9% Immo,9%,False,9.0,percent,sale,l10n_d ,,,,,,,,,,,tax,invoice,+E3B13_balance,l10n_dz_4457,,, ,,,,,,,,,,,base,refund,-E3B13_taxable_turnover,,,, ,,,,,,,,,,,tax,refund,-E3B13_balance,l10n_dz_4457,,, -l10n_dz_vat_sale_0_immo_from_9,,0% Real Estate,0% Immo,0%,False,0.0,percent,sale,l10n_dz_tax_group_vat_0,False,base,invoice,+E3B13_exempt_turnover,,,0% Immo,0% Opérations immobilières +l10n_dz_vat_sale_0_immo_from_9,,0% Real Estate,0% Immo 9,0%,False,0.0,percent,sale,l10n_dz_tax_group_vat_0,False,base,invoice,+E3B13_exempt_turnover,,,0% Immo,0% Opérations immobilières ,,,,,,,,,,,tax,invoice,,,,, ,,,,,,,,,,,base,refund,-E3B13_exempt_turnover,,,, ,,,,,,,,,,,tax,refund,,,,, @@ -67,7 +67,7 @@ l10n_dz_vat_sale_19_immo,,19% Real Estate,19% Immo,19%,False,19.0,percent,sale,l ,,,,,,,,,,,tax,invoice,+E3B23_balance,l10n_dz_4457,,, ,,,,,,,,,,,base,refund,-E3B23_taxable_turnover,,,, ,,,,,,,,,,,tax,refund,-E3B23_balance,l10n_dz_4457,,, -l10n_dz_vat_sale_0_immo_from_19,,0% Real Estate,0% Immo,0%,False,0.0,percent,sale,l10n_dz_tax_group_vat_0,False,base,invoice,+E3B23_exempt_turnover,,,0% Immo,0% Opérations immobilières +l10n_dz_vat_sale_0_immo_from_19,,0% Real Estate,0% Immo 19,0%,False,0.0,percent,sale,l10n_dz_tax_group_vat_0,False,base,invoice,+E3B23_exempt_turnover,,,0% Immo,0% Opérations immobilières ,,,,,,,,,,,tax,invoice,,,,, ,,,,,,,,,,,base,refund,-E3B23_exempt_turnover,,,, ,,,,,,,,,,,tax,refund,,,,,