From c423f9c209a439e45ecbd5643be9598bfd5e2cce Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Thu, 30 Nov 2017 13:59:59 +0100 Subject: [PATCH] [FIX] l10n_be_hr_payroll: Correct frenglish labels --- addons/l10n_be_hr_payroll/models/l10n_be_hr_payroll.py | 6 +++--- addons/l10n_be_hr_payroll/views/l10n_be_hr_payroll_view.xml | 2 +- 2 files changed, 4 insertions(+), 4 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 6f7d4fade8a..aa99a1925a9 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 @@ -19,8 +19,8 @@ class HrContract(models.Model): public_transport_employee_amount = fields.Monetary('Paid by the employee (Monthly)') thirteen_month = fields.Monetary(compute='_compute_holidays_advantages', string='13th Month', help="Yearly gross amount the employee receives as 13th month bonus.") - double_holidays = fields.Monetary(compute='_compute_holidays_advantages', string='Double holidays', - help="Yearly gross amount the employee receives as double holidays bonus.") + double_holidays = fields.Monetary(compute='_compute_holidays_advantages', string='Holiday Bonus', + help="Yearly gross amount the employee receives as holidays bonus.") warrant_value_employee = fields.Monetary(compute='_compute_warrants_cost', string="Warrant value for the employee") # Employer costs fields @@ -116,7 +116,7 @@ class HrContract(models.Model): contract.transport_employer_cost ) - @api.depends('yearly_cost_before_charges', 'social_security_contributions', + @api.depends('yearly_cost_before_charges', 'social_security_contributions', 'wage', 'social_security_contributions', 'double_holidays', 'warrants_cost', 'meal_voucher_paid_by_employer') def _compute_final_yearly_costs(self): for contract in self: diff --git a/addons/l10n_be_hr_payroll/views/l10n_be_hr_payroll_view.xml b/addons/l10n_be_hr_payroll/views/l10n_be_hr_payroll_view.xml index 96fc94a8fe7..4e7d429f102 100644 --- a/addons/l10n_be_hr_payroll/views/l10n_be_hr_payroll_view.xml +++ b/addons/l10n_be_hr_payroll/views/l10n_be_hr_payroll_view.xml @@ -57,7 +57,7 @@ - +