From c9f280358ffc09a686ab99137e38b143b5a3e0dd Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Wed, 13 Oct 2021 08:49:00 +0000 Subject: [PATCH] [FIX] l10n_sa: remove duplicate xmlid in translations Module was not installable in some circumstances To reproduce: - Make Arabic and Arabic (Syria) languages active - Try installing l10n_sa ==> crash: "psycopg2.errors.CardinalityViolation: ON CONFLICT DO UPDATE command cannot affect row a second time" This was due to duplicate xmlid in the translation file. closes odoo/odoo#78411 X-original-commit: 085812020df80b66be829995b1ed9b7d70cf6925 Signed-off-by: Laurent Smet Signed-off-by: oco-odoo --- addons/l10n_sa/i18n_extra/ar.po | 5 ----- addons/l10n_sa/i18n_extra/l10n_sa.pot | 5 ----- 2 files changed, 10 deletions(-) diff --git a/addons/l10n_sa/i18n_extra/ar.po b/addons/l10n_sa/i18n_extra/ar.po index dec0ac3ca18..751992ee658 100644 --- a/addons/l10n_sa/i18n_extra/ar.po +++ b/addons/l10n_sa/i18n_extra/ar.po @@ -373,11 +373,6 @@ msgstr "مخرجات ضريبة القيمة المضافة" msgid "Deferred income" msgstr "الإيرادات مؤجلة" -#. module: l10n_sa -#: model:account.account.template,name:l10n_sa.sa_account_201019 -msgid "Accrued Dubai Customs" -msgstr "جمارك دبي مستحقة" - #. module: l10n_sa #: model:account.account.template,name:l10n_sa.sa_account_202001 msgid "End of Service Provision" diff --git a/addons/l10n_sa/i18n_extra/l10n_sa.pot b/addons/l10n_sa/i18n_extra/l10n_sa.pot index 61155d03674..8d5e0e6d28a 100644 --- a/addons/l10n_sa/i18n_extra/l10n_sa.pot +++ b/addons/l10n_sa/i18n_extra/l10n_sa.pot @@ -373,11 +373,6 @@ msgstr "" msgid "Deferred income" msgstr "" -#. module: l10n_sa -#: model:account.account.template,name:l10n_sa.sa_account_201019 -msgid "Accrued Dubai Customs" -msgstr "" - #. module: l10n_sa #: model:account.account.template,name:l10n_sa.sa_account_202001 msgid "End of Service Provision"