mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Additionally, it is possible (from testing on other databases) to have contracts without an employee, resulting in a failed migration. Avoid this by filtering for employees on the contract and log if something (maybe a record rule) prevents you from seeing it instead of failing the migration itself.
48 lines
2.0 KiB
XML
48 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
|
|
<!-- State Unemployment -->
|
|
<record id="hr_payroll_category_ee_us_suta" model="hr.salary.rule.category">
|
|
<field name="name">EE: State Unemployment SUTA</field>
|
|
<field name="code">EE_US_SUTA</field>
|
|
<field name="parent_id" ref="hr_payroll.DED"/>
|
|
</record>
|
|
<record id="hr_payroll_category_er_us_suta" model="hr.salary.rule.category">
|
|
<field name="name">ER: State Unemployment SUTA</field>
|
|
<field name="code">ER_US_SUTA</field>
|
|
<field name="parent_id" ref="hr_payroll.COMP"/>
|
|
</record>
|
|
|
|
<!-- State Income Tax -->
|
|
<record id="hr_payroll_category_ee_us_sit" model="hr.salary.rule.category">
|
|
<field name="name">EE: State Income Tax Withholding</field>
|
|
<field name="code">EE_US_SIT</field>
|
|
<field name="parent_id" ref="hr_payroll.DED"/>
|
|
</record>
|
|
|
|
|
|
<!-- Tax Exempt Deductions -->
|
|
|
|
<!-- Deductions that reduce the wage for Federal Income Tax (e.g. 401k) -->
|
|
<record id="hr_payroll_category_ded_fit_exempt" model="hr.salary.rule.category">
|
|
<field name="name">Deduction: Federal Income Tax Exempt</field>
|
|
<field name="code">DED_US_FIT_EXEMPT</field>
|
|
|
|
</record>
|
|
|
|
<!-- Generally speaking, deductions to FICA and FUTA should probably reduce GROSS itself, there may be special or rare cases -->
|
|
<!-- Deductions that reduce the wage for FICA -->
|
|
<record id="hr_payroll_category_ded_fica_exempt" model="hr.salary.rule.category">
|
|
<field name="name">Deduction: FICA Exempt</field>
|
|
<field name="code">DED_FICA_EXEMPT</field>
|
|
<field name="parent_id" ref="hr_payroll.DED"/>
|
|
</record>
|
|
|
|
<!-- Deductions that reduce the wage for Unemployment Insurance/Tax -->
|
|
<record id="hr_payroll_category_ded_futa_exempt" model="hr.salary.rule.category">
|
|
<field name="name">Deduction: FUTA Exempt</field>
|
|
<field name="code">DED_FUTA_EXEMPT</field>
|
|
<field name="parent_id" ref="hr_payroll.DED"/>
|
|
</record>
|
|
|
|
</odoo> |