diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-02-23 15:23:07 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-02-23 15:23:07 +0100 |
| commit | 3ac58d44c701c879f9eeb624d2a6e30299efe609 (patch) | |
| tree | a4c1bdb0aee3eadf71b29697b6144553ef89640a | |
| parent | a4e05fb18548531076f0c2d6b5782f027b0a0e08 (diff) | |
[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.
| -rw-r--r-- | addons/l10n_be_hr_payroll/models/l10n_be_hr_payroll.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
