mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] l10n_us_hr_payroll: CA California SIT underflow
This commit is contained in:
@@ -94,5 +94,7 @@ def ca_california_state_income_withholding(payslip, categories, worked_days, inp
|
||||
deduction = exemption_allowances[allowance_index]
|
||||
withholding -= deduction
|
||||
|
||||
if withholding < 0.0:
|
||||
withholding = 0.0
|
||||
withholding += additional
|
||||
return wage, -((withholding / wage) * 100.0)
|
||||
|
||||
Reference in New Issue
Block a user