diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-07-04 11:39:07 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-07-04 11:39:07 +0200 |
| commit | 2c81916f5d65b60f5a5c7b8475dc147e101879af (patch) | |
| tree | 3c1c27fec24875b046ea304efcc4d7fa5f218b83 /addons/l10n_fr_fec | |
| parent | 59c663ae4252d140d83662e63ee4b6562a98e962 (diff) | |
| parent | aaaf32fedd2a3a4e307d765c7fd8b9ddcd2bd5e0 (diff) | |
[MERGE] forward port branch saas-15 up to aaaf32fedd2
Diffstat (limited to 'addons/l10n_fr_fec')
| -rw-r--r-- | addons/l10n_fr_fec/wizard/account_fr_fec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_fr_fec/wizard/account_fr_fec.py b/addons/l10n_fr_fec/wizard/account_fr_fec.py index 24e35187736..90b5288c71a 100644 --- a/addons/l10n_fr_fec/wizard/account_fr_fec.py +++ b/addons/l10n_fr_fec/wizard/account_fr_fec.py @@ -308,7 +308,7 @@ class AccountFrFec(models.TransientModel): TO_CHAR(am.date, 'YYYYMMDD') AS PieceDate, CASE WHEN aml.name IS NULL OR aml.name = '' THEN '/' WHEN aml.name SIMILAR TO '[\t|\s|\n]*' THEN '/' - ELSE replace(replace(replace(aml.name, '|', '/'), '\t', ''), '\n', '') END AS EcritureLib, + ELSE replace(replace(replace(replace(aml.name, '|', '/'), '\t', ''), '\n', ''), '\r', '') END AS EcritureLib, replace(CASE WHEN aml.debit = 0 THEN '0,00' ELSE to_char(aml.debit, '000000000000000D99') END, '.', ',') AS Debit, replace(CASE WHEN aml.credit = 0 THEN '0,00' ELSE to_char(aml.credit, '000000000000000D99') END, '.', ',') AS Credit, CASE WHEN rec.name IS NULL THEN '' ELSE rec.name END AS EcritureLet, |
