FIX l10n_us_mi_hr_payroll correcting withholding amount -> rounding was off.

This commit is contained in:
David Frick
2019-07-23 11:27:52 -04:00
committed by Jared Kipe
parent cac85d26c3
commit 0abc1a2f2d

View File

@@ -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>