[FIX] l10n_fr_fec: escape references
Escape the character `|` in the reference, to avoid messing with the exported CSV file. opw-1814994
This commit is contained in:
committed by
Nicolas Martinelli
parent
3e7835134d
commit
00acd9882b
@@ -221,7 +221,7 @@ class AccountFrFec(models.TransientModel):
|
||||
replace(MIN(aa.name), '|', '/') AS CompteLib,
|
||||
CASE WHEN rp.ref IS null OR rp.ref = ''
|
||||
THEN COALESCE('ID ' || rp.id, '')
|
||||
ELSE rp.ref
|
||||
ELSE replace(rp.ref, '|', '/')
|
||||
END
|
||||
AS CompAuxNum,
|
||||
COALESCE(replace(rp.name, '|', '/'), '') AS CompAuxLib,
|
||||
@@ -279,7 +279,7 @@ class AccountFrFec(models.TransientModel):
|
||||
replace(aa.name, '|', '/') AS CompteLib,
|
||||
CASE WHEN rp.ref IS null OR rp.ref = ''
|
||||
THEN COALESCE('ID ' || rp.id, '')
|
||||
ELSE rp.ref
|
||||
ELSE replace(rp.ref, '|', '/')
|
||||
END
|
||||
AS CompAuxNum,
|
||||
COALESCE(replace(rp.name, '|', '/'), '') AS CompAuxLib,
|
||||
|
||||
Reference in New Issue
Block a user