From 0d8eed7419d2ec894f0c1ecefc80ab5e1b55ffc0 Mon Sep 17 00:00:00 2001 From: David Frick Date: Tue, 23 Jul 2019 11:27:52 -0400 Subject: [PATCH] FIX `l10n_us_mi_hr_payroll` correcting withholding amount -> rounding was off. --- l10n_us_mi_hr_payroll/data/rules.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/l10n_us_mi_hr_payroll/data/rules.xml b/l10n_us_mi_hr_payroll/data/rules.xml index 3afef64d..788808dd 100755 --- a/l10n_us_mi_hr_payroll/data/rules.xml +++ b/l10n_us_mi_hr_payroll/data/rules.xml @@ -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 - -