Disable unaccented search for inventory number

This commit is contained in:
Maxime Richez
2023-06-07 15:37:17 +02:00
parent 120fe19598
commit b4ab5413ac
+1
View File
@@ -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(