mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] excape backslash
This commit is contained in:
@@ -31,7 +31,7 @@ def post_init_hook(cr, pool):
|
||||
"""
|
||||
with
|
||||
res_partner_bank_sanitized as
|
||||
(select id, acc_number, regexp_replace(acc_number, '\W+', '', 'g')
|
||||
(select id, acc_number, regexp_replace(acc_number, '\\W+', '', 'g')
|
||||
acc_number_sanitized from res_partner_bank),
|
||||
res_partner_bank_sanitized_grouped as
|
||||
(select array_agg(id) ids, acc_number_sanitized, count(*) amount
|
||||
|
||||
Reference in New Issue
Block a user