From e0a1d1b487acc50a7e8218e8cf53310951c170e4 Mon Sep 17 00:00:00 2001 From: Nicolas Wavrant <nicolas.wavrant@nexedi.com> Date: Fri, 29 Sep 2017 16:38:17 +0200 Subject: [PATCH] erp5_payroll_l10n_fr: add missing float formating in DSN generation --- .../erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py b/bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py index d860774b23..906bd37070 100644 --- a/bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py +++ b/bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py @@ -170,7 +170,7 @@ if block_id == 'S21.G00.20': # Establishment pays for itself rubric_value_dict['S21.G00.20.003'] = ''.join(bank_account.getBicCode().split(' ')) rubric_value_dict['S21.G00.20.004'] = ''.join(bank_account.getIban().split(' ')) - rubric_value_dict['S21.G00.20.005'] = amount + rubric_value_dict['S21.G00.20.005'] = formatFloat(amount) rubric_value_dict['S21.G00.20.010'] = payment_mode.getCodification() if payment_source_trade is not None and payment_source_trade != payment_source_section: # Establishment pays also for another one -- 2.30.9