From dca94f73659113472aec553b1d5cf6816d7b09fe Mon Sep 17 00:00:00 2001 From: Korbinian Preisler Date: Thu, 9 Apr 2026 17:45:01 +0200 Subject: [PATCH] Add missing f-string prefix in search for contact mechanisms for chat Closes #14760 --- modules/party/ir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}%'),