From 29bfa593d23d2edd0072b1a9c89ad93648532af2 Mon Sep 17 00:00:00 2001 From: aliya Date: Mon, 20 Nov 2023 11:56:02 +0100 Subject: [PATCH] [FIX] account_peppol: add a warning for Belgium Users need a helpful message for selecting the right EAS and Endpoint numbers. In Belgium it should always be 0208 according to BOSA, so we can display a warning message advising them to select that code for Belgian partners. Part-of: odoo/odoo#142688 --- addons/account_peppol/i18n/account_peppol.pot | 8 ++++++++ addons/account_peppol/views/res_config_settings_views.xml | 6 ++++++ addons/account_peppol/views/res_partner_views.xml | 8 ++++++++ 3 files changed, 22 insertions(+) diff --git a/addons/account_peppol/i18n/account_peppol.pot b/addons/account_peppol/i18n/account_peppol.pot index 3b89b7ffba1..7bdbc9e7e0b 100644 --- a/addons/account_peppol/i18n/account_peppol.pot +++ b/addons/account_peppol/i18n/account_peppol.pot @@ -687,6 +687,14 @@ msgid "" "to Live." msgstr "" +#. module: account_peppol +#: model_terms:ir.ui.view,arch_db:account_peppol.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:account_peppol.res_partner_form_account_peppol +msgid "" +"The recommended EAS code for Belgium is 0208. The Endpoint should be the " +"Company Registry number." +msgstr "" + #. module: account_peppol #: model_terms:ir.ui.view,arch_db:account_peppol.res_config_settings_view_form msgid "The rejection reason has been sent to you via email." diff --git a/addons/account_peppol/views/res_config_settings_views.xml b/addons/account_peppol/views/res_config_settings_views.xml index 746b5056bdd..1eba4ea95be 100644 --- a/addons/account_peppol/views/res_config_settings_views.xml +++ b/addons/account_peppol/views/res_config_settings_views.xml @@ -25,6 +25,12 @@ invisible="not account_peppol_endpoint_warning"> +