[FIX] account: Fix matching regex case insensitive in matching rules
The other filters are case insensitive, why not this one? closes odoo/odoo#35899 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
This commit is contained in:
@@ -326,7 +326,7 @@ class AccountReconcileModel(models.Model):
|
||||
query += ' AND st_line.name NOT ILIKE %s'
|
||||
params += ['%%%s%%' % rule.match_label_param]
|
||||
elif rule.match_label == 'match_regex':
|
||||
query += ' AND st_line.name ~ %s'
|
||||
query += ' AND st_line.name ~* %s'
|
||||
params += [rule.match_label_param]
|
||||
|
||||
# Filter on partners.
|
||||
|
||||
Reference in New Issue
Block a user