[FIX] l10n_us_hr_payroll: Missing Maine

This commit is contained in:
Jared Self
2021-01-21 10:40:53 -07:00
committed by Jared Kipe
parent a87e15e19b
commit b876c775ec
3 changed files with 92 additions and 1 deletions

View File

@@ -26,6 +26,12 @@
<field name="rule_parameter_id" ref="rule_parameter_us_me_suta_rate"/>
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
</record>
<!-- https://www.maine.gov/unemployment/docs/2020/2021taxrate.pdf -->
<record id="rule_parameter_us_me_suta_rate_2021" model="hr.rule.parameter.value">
<field name="parameter_value">2.31</field>
<field name="rule_parameter_id" ref="rule_parameter_us_me_suta_rate"/>
<field name="date_from" eval="datetime(2021, 1, 1).date()"/>
</record>
</data>
<!-- table based on https://www.maine.gov/revenue/forms/with/2020/20_WH_Tab&Instructions.pdf step 6.-->
<record id="rule_parameter_us_me_sit_tax_rate" model="hr.rule.parameter">
@@ -50,6 +56,22 @@
<field name="rule_parameter_id" ref="rule_parameter_us_me_sit_tax_rate"/>
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
</record>
<record id="rule_parameter_us_me_sit_tax_rate_2021" model="hr.rule.parameter.value">
<field name="parameter_value">{
'single': (
( 22450, 0, 5.80),
( 53150, 1302, 6.75),
( 'inf', 3374, 7.15),
),
'married': (
( 44950, 0, 5.80),
( 106350, 2607, 6.75),
( 'inf', 6752, 7.15),
),
}</field>
<field name="rule_parameter_id" ref="rule_parameter_us_me_sit_tax_rate"/>
<field name="date_from" eval="datetime(2021, 1, 1).date()"/>
</record>
</data>
<record id="rule_parameter_us_me_sit_standard_deduction_rate" model="hr.rule.parameter">
@@ -72,6 +94,22 @@
<field name="rule_parameter_id" ref="rule_parameter_us_me_sit_standard_deduction_rate"/>
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
</record>
<!-- https://www.maine.gov/revenue/sites/maine.gov.revenue/files/inline-files/21_wh_tab_instr_1.pdf -->
<!-- page 6 step 3 -->
<record id="rule_parameter_us_me_sit_standard_deduction_rate_2020" model="hr.rule.parameter.value">
<field name="parameter_value">{
'single': {
( 83850, 9700),
(158850, 75000),
},
'married': {
(167700, 22250),
(317700, 150000),
},
}</field>
<field name="rule_parameter_id" ref="rule_parameter_us_me_sit_standard_deduction_rate"/>
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
</record>
</data>
<record id="rule_parameter_us_me_sit_personal_exemption_rate" model="hr.rule.parameter">