summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js
diff options
context:
space:
mode:
authorYannick Vaucher <yannick.vaucher@camptocamp.com>2020-01-16 14:12:47 +0000
committerwan <wan@odoo.com>2020-01-27 15:20:55 +0000
commite6f0cc0d449c606e49fbb12a6741eddc2559ffc8 (patch)
treeb59ac3edeffbe15c04e8bf74682440e25d7ad0dc /addons/mail/static/src/js
parent11ff6053194c7ab5c2be150016083914b9d28703 (diff)
[FIX] account: Trim all space chars in reconciliation match
PostgresSQL TRIM function does not trim line return and other space characters that are not white space. For references having a non trimmed character regexp_split_to_array would create an array with an empty element. Such element could be matched to a counterpart with no numerics in the reference. TRIM(' \n001') => '\n001' regexp_split_to_array('\n001') => {"", "001"} By replacing the TRIM function by a substring using a regexp we also remove the other space characters such as tab and line return. closes odoo/odoo#44026 X-original-commit: 93f63c331781179fc6b81c14563a97b1d6a9b300 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/js')
0 files changed, 0 insertions, 0 deletions