From 9b7fcf315be36f814f03aafffb8d410dca47abea Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Wed, 15 Aug 2018 13:35:20 -0700 Subject: [PATCH] Guard against 0 New Jersey WorkForce rate. Remove broken New York test. --- l10n_us_nj_hr_payroll/data/rules_2018.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/l10n_us_nj_hr_payroll/data/rules_2018.xml b/l10n_us_nj_hr_payroll/data/rules_2018.xml index 0641e08f..c581bd9a 100755 --- a/l10n_us_nj_hr_payroll/data/rules_2018.xml +++ b/l10n_us_nj_hr_payroll/data/rules_2018.xml @@ -201,6 +201,9 @@ else: result_rate = -contract.nj_wf_rate(2018) result = categories.NJ_WF_WAGES + +if result_rate == 0.0: + result = 0.0