Files
suite/l10n_us_hr_payroll
Jared Kipe d97156a914 Merge branch '11.0' into 11.0-test
# Conflicts:
#	l10n_us_hr_payroll/data/state/ak_alaska.xml
#	l10n_us_hr_payroll/data/state/al_alabama.xml
#	l10n_us_hr_payroll/data/state/ar_arkansas.xml
#	l10n_us_hr_payroll/data/state/az_arizona.xml
#	l10n_us_hr_payroll/data/state/ca_california.xml
#	l10n_us_hr_payroll/data/state/co_colorado.xml
#	l10n_us_hr_payroll/data/state/ct_connecticut.xml
#	l10n_us_hr_payroll/data/state/de_delaware.xml
#	l10n_us_hr_payroll/data/state/hi_hawaii.xml
#	l10n_us_hr_payroll/data/state/ia_iowa.xml
#	l10n_us_hr_payroll/data/state/id_idaho.xml
#	l10n_us_hr_payroll/data/state/il_illinois.xml
#	l10n_us_hr_payroll/data/state/ks_kansas.xml
#	l10n_us_hr_payroll/data/state/ky_kentucky.xml
#	l10n_us_hr_payroll/data/state/me_maine.xml
#	l10n_us_hr_payroll/data/state/mi_michigan.xml
#	l10n_us_hr_payroll/data/state/mn_minnesota.xml
#	l10n_us_hr_payroll/data/state/mo_missouri.xml
#	l10n_us_hr_payroll/data/state/nc_northcarolina.xml
#	l10n_us_hr_payroll/data/state/nd_north_dakota.xml
#	l10n_us_hr_payroll/data/state/ne_nebraska.xml
#	l10n_us_hr_payroll/data/state/nj_newjersey.xml
#	l10n_us_hr_payroll/data/state/nm_new_mexico.xml
#	l10n_us_hr_payroll/data/state/nv_nevada.xml
#	l10n_us_hr_payroll/data/state/ok_oklahoma.xml
#	l10n_us_hr_payroll/data/state/ri_rhode_island.xml
#	l10n_us_hr_payroll/data/state/sc_south_carolina.xml
#	l10n_us_hr_payroll/data/state/ut_utah.xml
#	l10n_us_hr_payroll/data/state/vt_vermont.xml
#	l10n_us_hr_payroll/data/state/wv_west_virginia.xml
#	l10n_us_hr_payroll/models/__init__.py
#	l10n_us_hr_payroll/models/federal/fed_941.py
#	l10n_us_hr_payroll/models/hr_payslip.py
#	l10n_us_hr_payroll/tests/test_special.py
2020-11-21 15:43:12 -08:00
..
2020-11-21 15:43:12 -08:00

******************
Hibou - US Payroll
******************

Calculations and contribution registers for United States Payroll.

For more information and add-ons, visit `Hibou.io <https://hibou.io/>`_.

=============
Main Features
=============

* Contribution registers and partners for:
     * The Electronic Federal Tax Payment System (EFTPS) - Form 941
     * The Electronic Federal Tax Payment System (EFTPS) - Form 940
     * The Electronic Federal Tax Payment System (EFTPS) - Form 941 (FICA + Federal Withholding)
     * The Electronic Federal Tax Payment System (EFTPS) - Form 940 (FUTA)

* Contract level FICA Social Security
* Contract level FICA Employee Medicare
* Contract level FICA Employee Medicare Additional
* Contract level Federal Income Withholding
* Company level FICA Social Security
* Company level FICA Medicare
* Company level FUTA Federal Unemployment


.. image:: https://user-images.githubusercontent.com/15882954/41485460-76a0060c-7095-11e8-851a-fec562013ce4.png
    :alt: 'Employee Contract Detail'
    :width: 988
    :align: left

USA Employee added to  Contract Salary Structure Menu

.. image:: https://user-images.githubusercontent.com/15882954/41485484-880f0816-7095-11e8-9ad0-874b3270c308.png
    :alt: 'Computed Pay Slip Detail'
    :width: 988
    :align: left

Upgrading to 2019
==========================

If you were using this prior to January 2019, then you will need to run the following
migration script.

Odoo Shell code::

    def migrate_rule_name(rule_id):
        main = env.ref(rule_id)
        old_2017 = env.ref(rule_id.replace('2018', '2017'))
        old_2016 = env.ref(rule_id.replace('2018', '2016'))
        lines = env['hr.payslip.line'].search([('salary_rule_id', 'in', [old_2017.id, old_2016.id,])])
        lines.write({'salary_rule_id': main.id})

    rules = [
        'l10n_us_hr_payroll.hr_payroll_rules_fica_emp_ss_wages_2018',
        'l10n_us_hr_payroll.hr_payroll_rules_fica_emp_m_wages_2018',
        'l10n_us_hr_payroll.hr_payroll_rules_fica_emp_m_add_wages_2018',
        'l10n_us_hr_payroll.hr_payroll_rules_fica_emp_ss_2018',
        'l10n_us_hr_payroll.hr_payroll_rules_fica_emp_m_2018',
        'l10n_us_hr_payroll.hr_payroll_rules_fica_emp_m_add_2018',
        'l10n_us_hr_payroll.hr_payroll_rules_fed_inc_withhold_2018_single',
        'l10n_us_hr_payroll.hr_payroll_rules_fed_inc_withhold_2018_married',
        'l10n_us_hr_payroll.hr_payroll_rules_futa_wages_2018',
        'l10n_us_hr_payroll.hr_payroll_rules_futa_2018',
    ]
    for rule_id in rules:
        migrate_rule_name(rule_id)

    env.cr.commit()


=======
License
=======
Please see `LICENSE <https://github.com/hibou-io/hibou-odoo-suite/blob/master/LICENSE>`_.
Copyright Hibou Corp. 2018