From ecedb77ede36b312db9db0c27d85d71dc9a49a3d Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Thu, 9 Nov 2017 14:13:15 +0100 Subject: [PATCH] [FIX] l10n_be_hr_payroll: Compute the Gross Salary with the correct ATN amounts Purpose ======= The ATN values on a payslip are fixed with a forfeit. See: https://finances.belgium.be/fr/entreprises/personnel_et_remuneration/avantages_toute_nature/autres_avantages Specification ============= Count the forfeit, not the amount paid by the company. --- addons/l10n_be_hr_payroll/data/l10n_be_hr_payroll_data.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/l10n_be_hr_payroll/data/l10n_be_hr_payroll_data.xml b/addons/l10n_be_hr_payroll/data/l10n_be_hr_payroll_data.xml index bd9dd3e55be..0e8ea8dc373 100644 --- a/addons/l10n_be_hr_payroll/data/l10n_be_hr_payroll_data.xml +++ b/addons/l10n_be_hr_payroll/data/l10n_be_hr_payroll_data.xml @@ -100,7 +100,11 @@ none code -result = contract.wage + contract.mobile + contract.mobile_plus + contract.internet +result = contract.wage +if contract.internet: + result += 5.0 +if contract.mobile: + result += 12.0 if contract.transport_mode == 'company_car': result += contract.car_atn