Commit Graph

307 Commits

Author SHA1 Message Date
Jared Kipe
b6189f3940 MIG purchase_by_sale_history to 12.0 2020-11-24 14:15:48 +00:00
Jared Kipe
e0f69d6095 Initial commit of purchase_by_sale_history_mrp for 11.0
Additionally, refactor and improve `purchase_by_sale_history` to include current inventory demand (virtual_available) for specific warehouses.
2020-11-24 14:15:48 +00:00
Jared Kipe
5268234aca Initial commit of purchase_by_sale_history module for 11.0 2020-11-24 14:15:47 +00:00
Jared Kipe
981775f124 Merge branch 'mig/14.0/l10n_us_hr_payroll_401k' into '14.0'
mig/14.0/l10n_us_hr_payroll_401k into 14.0

See merge request hibou-io/hibou-odoo/suite!700
2020-11-24 02:29:08 +00:00
Jared Kipe
eb85f97d20 [MIG] l10n_us_hr_payroll_401k: for Odoo Enterprise 14.0
Additionally, added search view to assist in configuring and added it to the config section in `hr_payroll_hibou`.
2020-11-23 18:19:25 -08:00
Jared Kipe
b4ce766638 [IMP] l10n_us_hr_payroll_401k: Add migration code to handle known issues from Odoo S.A. migrations. 2020-11-23 17:39:05 -08:00
Jared Kipe
318fffa1d9 [ADD] l10n_us_hr_payroll_401k: initial commit for Odoo 13.0 2020-11-23 17:39:05 -08:00
Jared Kipe
1ab9b314d7 [MIG] l10n_us_hr_payroll_account: to Odoo Enterprise 14.0 2020-11-22 08:59:42 -08:00
Jared Kipe
8fad98e3d3 [IMP] l10n_us_hr_payroll_account: add record rules to reset accounting on selected rules 2020-11-22 08:26:30 -08:00
Jared Kipe
e6f79536a5 FIX l10n_us_hr_payroll_account Cannot create journal with optional field from hr_payroll_payment 2020-11-22 08:26:30 -08:00
Jared Kipe
6621b13c28 NEW l10n_us_hr_payroll_account Rewrite for Odoo 13 2020-11-22 08:26:30 -08:00
Jared Kipe
825068452e [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
2020-11-22 07:58:17 -08:00
Jared Kipe
86d4087343 [IMP] l10n_us_hr_payroll: Rules and improvements. (+104 squashed commits)
Squashed commits:
[9ca3d040] [FIX] l10n_us_hr_payroll: payslip category sum over date range now includes child categories
[7a92b96e] [FIX] l10n_us_hr_payroll: remove overwrite to correct wage calculation above
[45d130ce] [IMP] l10n_us_hr_payroll: Add migration code to handle known issues from Odoo S.A. migrations.
[54bffced] [FIX] l10n_us_hr_payroll: add missing `semi-monthly` as a default schedule pay
[d7206395] [IMP] l10n_us_hr_payroll: common test call paramaterize defaults for Structure Type and Resource Calendar
[a1174740] [FIX] l10n_us_hr_payroll : Fixed exempt test case for 2019.
[2d8ec31b] [IMP] l10n_us_hr_payroll: Improved Tax table and improved Test case for NJ New Jersey 2020
[51f61ab5] [IMP] l10n_us_hr_payroll: Added comment and improved Test case for MS Mississippi 2020
[5bfe38f3] [IMP] l10n_us_hr_payroll: Improved Test case for MI Michigan 2020
[c21aa7a7] [IMP] l10n_us_hr_payroll: Added comment for MN Minnesota 2020
[ed67319a] [IMP] l10n_us_hr_payroll: Added comment and improved Test case for MO Missouri 2020
[cc68ea2e] [IMP] l10n_us_hr_payroll: Added Tax table and improved Test case for MT Montana 2020
[9450418c] [IMP] l10n_us_hr_payroll: Added Tax table and improved Test case for ID Idaho 2020
[c389748c] [IMP] l10n_us_hr_payroll: Added Tax table and improved Test case for KY Kentucky 2020
[6d4171fc] [IMP] l10n_us_hr_payroll: Reformat tax table, improved comments and test case for IA Iowa 2020
[77588bc6] [IMP] l10n_us_hr_payroll: Improved Tax table and Test case for HI Hawaii 2020
[585f8cbf] [IMP] l10n_us_hr_payroll: Added Tax table for 2020 and improved Test case for GA Georgia 2020
[92a89e59] [IMP] l10n_us_hr_payroll: Reformat tax table, improved comments and test case for CA California 2020
[785b33e3] [IMP] l10n_us_hr_payroll: Improved comments and test case for CT Connecticut 2020
[13198a9e] [IMP] l10n_us_hr_payroll: Improved test case for CO Colorado 2020
[c65b62a7] [IMP] l10n_us_hr_payroll: Improved comments and test case for AR Arkansas 2020
[e01eeb65] [IMP] l10n_us_hr_payroll: Improved test case for AZ Arizona 2020
[5cf0b69e] [IMP] l10n_us_hr_payroll: Improved comments, Tax table, filing status and test case for AL Alabama 2020
[64436b6e] [IMP] l10n_us_hr_payroll: Improved comments and test case for NM New Mexico 2020
[c395c8a9] [IMP] l10n_us_hr_payroll: Added Comment, removed one filing status which was not used in calculation and improve test case for exempt for NC North Carolina 2020
[ff4adfe8] [IMP] l10n_us_hr_payroll: Comment add for table for VA Virginia 2020
[9fc9b3b6] [IMP] l10n_us_hr_payroll: Reformat Tax table and changed wage for VT Vermont 2020
[5c96026b] [IMP] l10n_us_hr_payroll: Reformat Tax table and changed SUTA rate for RI Rhode Island 2020
[2a2abb62] [IMP] l10n_us_hr_payroll: Reformat Tax table, changed SUTA rate and improved test case for UT Utah 2020.
[42edfc06] [IMP] l10n_us_hr_payroll: Refactored Tax table, changed filing status string and Improved test case for KS Kansas 2020.
[733e721a] [IMP] l10n_us_hr_payroll: Reformat Tax table, changed field string and improved test case for OK Oklahoma 2020
[7c2d9a20] [IMP] l10n_us_hr_payroll: Reformat Tax table for WV West Virginia 2020.
[91630c86] [IMP] l10n_us_hr_payroll: Refactored Tax table, changed tax rate and added additional withholding field. Improved test case for ME Maine 2020.
[9c62ebaf] [IMP] l10n_us_hr_payroll: Refactored Tax table and Improved test case for NE Nebraska 2020.
[88118297] [IMP] l10n_us_hr_payroll: Refactored  Tax table and Improved test case for ME Maine 2020.
[641bb815] [IMP] l10n_us_hr_payroll: Refactored sit rate tax table and added allowance field and apply on calculation. Also Improved test case for for ND North Dakota 2020.
[f6f81615] [IMP] l10n_us_hr_payroll: Changed Form name and additional withholding field string for IN Indiana 2020.
[e4c9774f] [IMP] l10n_us_hr_payroll: Added additional withholding, changed suta rate for 2020 and Improved test for SC South Carolina 2020.
[91887067] [IMP] l10n_us_hr_payroll: Improved test and restructured table for WI Wisconsin 2020.
[9110d174] [FIX] l10n_us_hr_payroll: Updated NY New York 2020 rates and tests.
[1a7c26d8] [FIX]  l10n_us_hr_payroll: Added exempt on filing status for NY.
[8f447aaa] [IMP] l10n_us_hr_payroll: Changed wage base and suta rate for NY New York 2019/2020.
[e9a53918] [IMP] l10n_us_hr_payroll: Changed suta rate for WY Wyoming 2020.

H2914
[eddc6431] [IMP] l10n_us_hr_payroll: Changed suta rate and added exempt.

H2816
[dff4a2ca] [IMP] l10n_us_hr_payroll: For Rhode Island 13.0
[baea9412] [IMP] l10n_us_hr_payroll: For West Virginia 13.0
[8fed8e7b] [IMP] l10n_us_hr_payroll: For Wisconsin 13.0
[57182a87] [IMP] l10n_us_hr_payroll: For South Dakota 13.0
[1011c62e] [IMP] l10n_us_hr_payroll: For Tennessee 13.0
[688a3cc1] [IMP] l10n_us_hr_payroll: For Utah 13.0
[ded656db] [IMP] l10n_us_hr_payroll: For Vermont 13.0
[a0da1841] [IMP] l10n_us_hr_payroll: Port `l10n_us_wy_hr_payroll` WY Wyoming including migration.
[977cc3af] [IMP] l10n_us_hr_payroll: For Oklahoma 13.0
[68a0697c] [FIX]l10n_us_hr_payroll: Spell mistake on Kansas state payroll.
[addd5f03] [IMP] l10n_us_hr_payroll: For Kentucky 13.0
[4fb48854] [IMP] l10n_us_hr_payroll: For Kansas 13.0
[60d40449] [IMP] l10n_us_hr_payroll: For Nevada 13.0
[2475250f] [IMP] l10n_us_hr_payroll: For Maine 13.0
[1234467d] [IMP] l10n_us_hr_payroll: For North Dakota 13.0
[d1642bbe] IMP `l10n_us_hr_payroll` Allow configurable changes to payslip summing behavior.

In stock Odoo, summing anything in payroll rules (but most importantly rule amounts and category amounts by code), the considered payslips are referenced from their `date_from` field.  However in the USA, it is in fact the `date_to` that is more important (or accounting date). A Payslip made for 2019-12-20 to 2020-01-04 should in fact be considered a '2020' payslip, and thus the summation on other '2020' payslips must find it by considering payslips `date_to`.
[0af81085] IMP `l10n_us_hr_payroll` Port `l10n_us_ny_hr_payroll` NY New York including migration
[bc5c0b47] IMP `l10n_us_hr_payroll` for Nebraska 13.0
[6f3120f8] IMP `l10n_us_hr_payroll` Port `l10n_us_sc_hr_payroll` SC South Carolina including migration
[9bee1ce7] IMP `l10n_us_hr_payroll` Port `l10n_us_la_hr_payroll` LA Louisiana including migration
[368a7e59] IMP `l10n_us_hr_payroll` for Indiana 13.0
[c7647d08] IMP `l10n_us_hr_payroll` for New Hampshire 13.0
[a738a0af] IMP `l10n_us_hr_payroll` for New Mexico 13.0
[d2898035] IMP `l10n_us_hr_payroll` Port `l10n_us_ia_hr_payroll` IA Iowa including migration
[acdd3d43] IMP `l10n_us_hr_payroll` for Colorado 13.0
[e1eccfc2] IMP `l10n_us_hr_payroll` Port `l10n_us_de_hr_payroll` DE Delaware including migration
[7b4adef4] IMP `l10n_us_hr_payroll` Port `l10n_us_hi_hr_payroll` HI Hawaii including migration
[28eb5b9d] FIX `l10n_us_hr_payroll` Don't give error on Zero wage in FIT
[498137cb] FIX `l10n_us_hr_payroll` Port `l10n_us_id_hr_payroll` Remove supplier from the Partners..
[8895e59f] FIX `l10n_us_hr_payroll` Port `l10n_us_ca_hr_payroll` Added test case on file.
[0082fce8] IMP `l10n_us_hr_payroll` Port `l10n_us_id_hr_payroll` ID Idaho including migration
[92f6d30c] IMP `l10n_us_hr_payroll` Port `l10n_us_ca_hr_payroll` CA California including migration
[2059172b] IMP `l10n_us_hr_payroll` Port `l10n_us_ct_hr_payroll` CT Connecticut including migration
[dd8f7369] IMP `l10n_us_hr_payroll` Port `l10n_us_al_hr_payroll` AL Alabama including migration
[d5c3e427] IMP `l10n_us_hr_payroll` Port `l10n_us_ak_hr_payroll` AK Alaska including migration
[fbba5b2b] FIX `l10n_us_hr_payroll` Changed SUTA Rate for Illinois 2020.
[18421d01] IMP `l10n_us_hr_payroll` Port `l10n_us_az_hr_payroll` AZ Arizona including migration
[f960d135] IMP `l10n_us_hr_payroll` Port `l10n_us_il_hr_payroll` IL Illinois including migration
[b85e7483] IMP `l10n_us_hr_payroll` Port `l10n_us_ar_hr_payroll` AR Arkansas including migration
[61e9530f] IMP `l10n_us_hr_payroll` Create tax exempt categories for table coverage from IRS Pub. 15-B
[38decf71] IMP `l10n_us_hr_payroll` Port `l10n_us_mn_hr_payroll` MN Minnesota including migration
[2c9dca19] IMP `l10n_us_hr_payroll` Port `l10n_us_mi_hr_payroll` MI Michigan including migration
[e175ecbb] IMP `l10n_us_hr_payroll` Port `l10n_us_nc_hr_payroll` NC North Carolina including migration
[db689da4] IMP `l10n_us_hr_payroll` Port `l10n_us_nj_hr_payroll` NJ New Jersey including migration
[130ce65c] IMP `l10n_us_hr_payroll` Add MO Missouri (unemployment, income tax)
[4d4fcd45] IMP `l10n_us_hr_payroll` Use the raw ER rate for Washington LNI (instead of the combined rate and removing EE portion)
[45fb9682] FIX `l10n_us_hr_payroll` Missing Parent Category and Code not matching pattern.
[3ae7b859] IMP `l10n_us_hr_payroll` Refactor to simply tax exempt deductions.
[30eafd14] IMP `l10n_us_hr_payroll` Add MS Mississippi (unemployment, income tax)
[2f7e7b96] IMP `l10n_us_hr_payroll` Add GA Georgia (unemployment, income tax)
[3d79ed81] IMP `l10n_us_hr_payroll` Add form name in Virginia's state box.
[2e6c7050] IMP `l10n_us_hr_payroll` Add VA Virginia (unemployment, income tax)
[8ae58731] IMP `l10n_us_hr_payroll` Add TX Texas (unemployment, OA, ETIA)
[f83bf47c] IMP `l10n_us_hr_payroll` Add WA Washington (unemployment, lni, fml)
[1d661f8d] IMP `l10n_us_hr_payroll` Add OH Ohio (unemployment, income tax)
[edbc8c59] IMP `l10n_us_hr_payroll` Add MT Montana (unemployment (with AFT), income tax)
[dfe38521] IMP `l10n_us_hr_payroll` Implement generic state income tax exempt and additional fields.  Include in PA Tests and State Form section.
[900bc138] IMP `l10n_us_hr_payroll` Add Generic SIT Category and method, add PA Pennsylvania (unemployment (ER, EE), income tax)
[dcafce90] IMP `l10n_us_hr_payroll` Refactor SUTA tests into generic test. (Reworked Florida 2020) (+1 squashed commit)
Squashed commits:
[667cc8c4] IMP `l10n_us_hr_payroll` Add Generic SUTA Category and method, add FL Florida (unemployment, no income tax)
2020-11-22 06:23:36 -08:00
Jared Kipe
4306a6e351 NEW l10n_us_hr_payroll Initiall commit for Odoo 13 (rewrite) and 2020 Federal Rates (including new W4) 2020-11-22 06:18:06 -08:00
Jared Kipe
5a13ad029f [ADD] hr_payroll_hibou: for Odoo Enterprise 14.0
Abstract fixes and behaviors.

- Adds configurable option for Payslip rule calculation sum date field.
- Fixes inconsistency between .sum_category('CODE') and .categories['CODE']
- Adds semi-monthly Semi-monthly schedule_pay

All features are tested and the tests themselves should serve as test harnesses for other 'payroll' modules.
2020-11-21 17:19:37 -08:00
Jared Kipe
845b8e7d64 Merge branch 'mig/14.0/hr_commission' into '14.0'
mig/14.0/hr_commission into 14.0

See merge request hibou-io/hibou-odoo/suite!672
2020-11-18 19:23:52 +00:00
Jared Kipe
5c14a53e10 Merge branch 'mig/14.0/delivery_gso' into '14.0'
mig/14.0/delivery_gso into 14.0

See merge request hibou-io/hibou-odoo/suite!674
2020-11-18 19:23:37 +00:00
Jared Kipe
fecab33006 Merge branch 'mig/14.0/sale_credit_limit' into '14.0'
mig/14.0/sale_credit_limit into 14.0

See merge request hibou-io/hibou-odoo/suite!676
2020-11-18 19:23:25 +00:00
Jared Self
04eb5ad0a0 [MIG] Changed User For Test Module 2020-11-18 11:51:51 -07:00
Connor Christian
db4256c2c0 [MIG] delivery_gso: for Odoo 14.0 2020-11-18 13:11:00 -05:00
Connor Christian
bb0532cbc6 [MIG] delivery_gso: for Odoo 13.0 2020-11-17 15:19:40 -05:00
Connor Christian
a71eaa0a4f [FIX] delivery_gso: removed outer parenthesis to fix message 2020-11-17 15:19:40 -05:00
Connor Christian
77ef7b8d01 [MIG] delivery_gso: for Odoo 12.0
Fixed warning in manifest by extending underline "===..."
2020-11-17 15:19:40 -05:00
Jared Kipe
5f3daec267 [MOV] delivery_gso: from hibou-suite-enterprise:11.0 2020-11-17 15:19:40 -05:00
Leighton Pennicott
c13f9bb13d [MIG] hr_commission: migrate to Odoo 14.0 2020-11-17 15:06:01 -05:00
Bhoomi Vaishnani
df48365ca1 [MIG] sale_credit_limit: For Odoo13.0 2020-11-17 19:21:14 +00:00
Jared Kipe
8c5555ba17 MIG sale_credit_limit for 12.0 2020-11-17 19:21:13 +00:00
Jared Kipe
3a13a03230 IMP sale_credit_limit Include the Currency and Currency formatting in SO warning. 2020-11-17 19:21:13 +00:00
Jared Kipe
afd88d3fcd Initial commit of sale_credit_limit for 11.0 2020-11-17 19:21:13 +00:00
Jared Kipe
c568821c96 Merge branch 'mig/14.0/project_task_line' into '14.0'
mig/14.0/project_task_line into 14.0

See merge request hibou-io/hibou-odoo/suite!670
2020-11-17 18:56:51 +00:00
Connor Christian
c1f14b3048 [MIG] project_task_line: for Odoo 14.0 2020-11-17 13:55:03 -05:00
Jared Kipe
890cd19143 Merge branch 'mig/14.0/delivery_hibou' into '14.0'
mig/14.0/delivery_hibou into 14.0

See merge request hibou-io/hibou-odoo/suite!668
2020-11-17 18:50:40 +00:00
Jared Kipe
4afd289cb5 [MIG] delivery_hibou: to 14.0 2020-11-17 10:48:10 -08:00
Connor Christian
2715da4377 [IMP] project_task_line: make inline tree editable and update kanban states
H4497
2020-11-17 18:25:13 +00:00
Bhoomi
53627d06ec IMP project_task_line Set Default task on Todo lines. 2020-11-17 18:25:13 +00:00
Bhoomi
1c7769122b MIG project_task_line For Odoo 13.0 2020-11-17 18:25:13 +00:00
Jared Kipe
3c80b8b334 MIG project_task_line to 12.0 2020-11-17 18:25:13 +00:00
Jared Kipe
53a3ad6f54 FIX Portal access for project.task.line 2020-11-17 18:25:13 +00:00
Jared Kipe
5935a507cd IMP project_task_line More natural ordering when adding many lines at once. 2020-11-17 18:25:12 +00:00
Jared Kipe
0a937caad0 ADD security to project.task.line and show on website.
`website_project_task` module now includes optional template to display Todo List on the task view
2020-11-17 18:25:12 +00:00
Jared Kipe
b9fc856732 Initial commit of project_task_line for 11.0 2020-11-17 18:25:12 +00:00
Jared Kipe
2dc1e0f342 [FIX] delivery_hibou: correct picking priority when computed on more than one picking 2020-11-17 18:25:07 +00:00
Jared Kipe
537f5e86cc [MIG] delivery_hibou: to Odoo 13.0 2020-11-17 18:25:07 +00:00
Jared Kipe
796b50ecf5 IMP delivery_hibou Add util method is_amazon to override with specific implementation 2020-11-17 18:25:07 +00:00
Jared Kipe
e2bae7bdb5 FIX delivery_hibou Fallback during dropship. 2020-11-17 18:25:07 +00:00
Jared Kipe
81ecbab505 MIG delivery_hibou to 12.0 2020-11-17 18:25:07 +00:00
Jared Kipe
5f7f524f6e Initial commit of delivery_hibou and associated refactoring to sale_planner and delivery_stamps for 11.0 2020-11-17 18:25:07 +00:00
Jared Kipe
8d6d6d6801 Merge branch 'mig/14.0/project_stage' into '14.0'
mig/14.0/project_stage into 14.0

See merge request hibou-io/hibou-odoo/suite!664
2020-11-17 16:56:35 +00:00
Connor Christian
7354ac58dc [MIG] project_stage: for Odoo 14.0 2020-11-17 11:54:46 -05:00
Connor Christian
b5d6992e72 [IMP] project_stage: changed default context for group by stage
Also added the ability to create new stages in the project.project kanban view

H4496
2020-11-17 16:34:01 +00:00