[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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user