From 86d2fdfe502d2c552b56f6453e3d46640e5fe706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 16 Jan 2026 17:01:25 +0100 Subject: [PATCH] Do not sort party identifier selection --- modules/party/configuration.py | 2 +- modules/web_shop_vue_storefront/tests/test_module.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/party/configuration.py b/modules/party/configuration.py index 8e7c3b480e..3a9ebefb9c 100644 --- a/modules/party/configuration.py +++ b/modules/party/configuration.py @@ -25,7 +25,7 @@ class Configuration(ModelSingleton, ModelSQL, ModelView, MultiValueMixin): party_sequence = fields.MultiValue(party_sequence) party_lang = fields.MultiValue(party_lang) identifier_types = fields.MultiSelection( - IDENTIFIER_TYPES, "Identifier Types", + IDENTIFIER_TYPES, "Identifier Types", sort=False, help="Defines which identifier types are available.\n" "Leave empty for all of them.") diff --git a/modules/web_shop_vue_storefront/tests/test_module.py b/modules/web_shop_vue_storefront/tests/test_module.py index 61e8781c44..976ece818c 100644 --- a/modules/web_shop_vue_storefront/tests/test_module.py +++ b/modules/web_shop_vue_storefront/tests/test_module.py @@ -35,7 +35,7 @@ ADDRESS = { } ADDRESS_COMPANY = ADDRESS.copy() ADDRESS_COMPANY['company'] = 'Saber' -ADDRESS_COMPANY['vat_id'] = 'BE0500923836' +ADDRESS_COMPANY['vat_id'] = '0500923836' class WebVueStorefrontTestCase(CompanyTestMixin, ModuleTestCase):