mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] l10n_us_hr_payroll: to Odoo 14.0
Require `hr_payroll_hibou`, remove a lot of 'fixes' and stuff that is useful for 'all' payroll. Failing tests: Deleware 2020 is low by ~0.1% in SIT only. Pennsylvania 2019, 2020 is low by ~0.01% in SIT only. I did not try to correct, only verify that the data and calculation is the same between versions. (which it is) Washington 2019, 2020 hours was off (183.99972222222223 != 184) Fixed by turning it into assertAlmostEqual
This commit is contained in:
@@ -7,14 +7,19 @@
|
||||
<field name="country_id" ref="base.us"/>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
<record id="hr_payroll_structure" model="hr.payroll.structure">
|
||||
<field name="name">USA Employee Standard</field>
|
||||
<field name="country_id" ref="base.us"/>
|
||||
<field name="type_id" ref="l10n_us_hr_payroll.structure_type_employee"/>
|
||||
<field name="regular_pay" eval="True"/>
|
||||
<field name="unpaid_work_entry_type_ids" eval="[
|
||||
(4, ref('hr_payroll.work_entry_type_unpaid_leave')),
|
||||
]"/>
|
||||
(4, ref('hr_work_entry_contract.work_entry_type_unpaid_leave')),
|
||||
]"/>
|
||||
</record>
|
||||
|
||||
<record id="l10n_us_hr_payroll.structure_type_employee" model="hr.payroll.structure.type">
|
||||
<field name="default_struct_id" ref="hr_payroll_structure"/>
|
||||
</record>
|
||||
|
||||
<!-- State Unemployment -->
|
||||
|
||||
Reference in New Issue
Block a user