diff --git a/modules/party/ir.py b/modules/party/ir.py index 5ff9ddcd1b..8e34c423de 100644 --- a/modules/party/ir.py +++ b/modules/party/ir.py @@ -141,7 +141,7 @@ class Channel(metaclass=PoolMeta): contacts = ContactMechanism.search([ 'OR', [ - ('rec_name', 'ilike', '{text}%'), + ('rec_name', 'ilike', f'{text}%'), ('type', '=', 'email'), ], ('name', 'ilike', f'%{text}%'),