mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
FIX l10n_us_mi_hr_payroll correcting withholding amount -> rounding was off.
This commit is contained in:
@@ -75,10 +75,8 @@ else:
|
||||
raise Exception('Invalid schedule_pay="' + schedule_pay + '" for MI Income Withholding calculation')
|
||||
|
||||
allowance_amount = (annual_exemption_amount / pay_period)
|
||||
withholding = round((wages - allowance_amount) * 0.0425) + contract.mi_w4_additional_wh
|
||||
withholding = ((wages - allowance_amount) * 0.04250) + contract.mi_w4_additional_wh
|
||||
result = - withholding
|
||||
|
||||
|
||||
</field>
|
||||
<field name="register_id" ref="contrib_register_mi_dot_withhold"/>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user