From b4ab5413ac682c9fc342eb4953579cc9d671855c Mon Sep 17 00:00:00 2001 From: Maxime Richez Date: Wed, 7 Jun 2023 15:37:17 +0200 Subject: [PATCH] Disable unaccented search for inventory number --- modules/stock/inventory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/stock/inventory.py b/modules/stock/inventory.py index daa7f334e6..bf58f320dc 100644 --- a/modules/stock/inventory.py +++ b/modules/stock/inventory.py @@ -65,6 +65,7 @@ class Inventory(Workflow, ModelSQL, ModelView): @classmethod def __setup__(cls): + cls.number.search_unaccented = False super(Inventory, cls).__setup__() t = cls.__table__() cls._sql_indexes.add(