Add missing f-string prefix in search for contact mechanisms for chat
Closes #14760
This commit is contained in:
+1
-1
@@ -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}%'),
|
||||
|
||||
Reference in New Issue
Block a user