mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
FIX Mississippi and Montana Withholding sign.
This commit is contained in:
@@ -116,6 +116,7 @@ else:
|
||||
result = round(TAX / PP)
|
||||
|
||||
result += additional
|
||||
result = -result
|
||||
</field>
|
||||
<field name="register_id" ref="contrib_register_msdor_withhold"/>
|
||||
</record>
|
||||
|
||||
@@ -33,7 +33,7 @@ class TestUsMsPayslip(TestUsPayslip):
|
||||
self.assertPayrollEqual(TAX, 570.0)
|
||||
|
||||
ms_withhold = round(TAX / 24) # Semi-Monthly
|
||||
self.assertPayrollEqual(cats['EE_US_MS_INC_WITHHOLD'], ms_withhold)
|
||||
self.assertPayrollEqual(cats['EE_US_MS_INC_WITHHOLD'], -ms_withhold)
|
||||
|
||||
def test_2019_taxes_one_exempt(self):
|
||||
salary = 1250.0
|
||||
@@ -83,4 +83,4 @@ class TestUsMsPayslip(TestUsPayslip):
|
||||
self.assertPayrollEqual(TAX, 570.0)
|
||||
|
||||
ms_withhold = round(TAX / 24) # Semi-Monthly
|
||||
self.assertPayrollEqual(cats['EE_US_MS_INC_WITHHOLD'], ms_withhold + additional)
|
||||
self.assertPayrollEqual(cats['EE_US_MS_INC_WITHHOLD'], -ms_withhold + -additional)
|
||||
|
||||
Reference in New Issue
Block a user