[FIX] l10n_be_hr_payroll: Update the warrant computation

Purpose
=======

Currently the warrant computation was made under a wrong basis.
This commit is contained in:
Yannick Tivisse
2018-02-19 14:56:18 +01:00
parent 825180867a
commit 5d2217004a
@@ -116,8 +116,8 @@ class HrContract(models.Model):
@api.depends('commission_on_target')
def _compute_warrants_cost(self):
for contract in self:
contract.warrants_cost = contract.commission_on_target * 1.326 / 1.05 * 12.0
contract.warrant_value_employee = contract.warrants_cost * 0.54
contract.warrants_cost = contract.commission_on_target * 1.05 * 12.0
contract.warrant_value_employee = contract.commission_on_target * (1.00 - 0.535) * 12.0
@api.depends('wage', 'fuel_card', 'representation_fees', 'transport_employer_cost',
'internet', 'mobile', 'mobile_plus')