[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.
This commit is contained in:
Yannick Tivisse
2017-11-17 11:25:25 +01:00
parent ab900bb62a
commit ecedb77ede
@@ -100,7 +100,11 @@
<field name="condition_select">none</field>
<field name="amount_select">code</field>
<field name="amount_python_compute">
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
</field>