From 3ac58d44c701c879f9eeb624d2a6e30299efe609 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Fri, 23 Feb 2018 15:23:07 +0100 Subject: [PATCH] [FIX] l10n_be_hr_payroll: Use the warrant costs on wage_with_holidays Purpose ======= The warrant cost formulae has been modified at 5d22170. Instead of using the (remaining) warrant costs formulae, use the corresponding field instead. --- addons/l10n_be_hr_payroll/models/l10n_be_hr_payroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_be_hr_payroll/models/l10n_be_hr_payroll.py b/addons/l10n_be_hr_payroll/models/l10n_be_hr_payroll.py index 2f480a4a732..b69f43ecd9a 100644 --- a/addons/l10n_be_hr_payroll/models/l10n_be_hr_payroll.py +++ b/addons/l10n_be_hr_payroll/models/l10n_be_hr_payroll.py @@ -95,7 +95,7 @@ class HrContract(models.Model): + 12.0 * contract.internet \ + 12.0 * (contract.mobile + contract.mobile_plus) \ + 12.0 * contract.transport_employer_cost \ - + (1.326 / 1.05 * 12.0) * contract.commission_on_target \ + + contract.warrants_cost \ + 220.0 * contract.meal_voucher_paid_by_employer contract.final_yearly_costs = yearly_cost / (1.0 - (contract.holidays - 20.0) / 231.0) contract.wage = contract._get_gross_from_employer_costs(contract.final_yearly_costs)