Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit modules in hr #18

Closed
2 of 50 tasks
bwrsandman opened this issue Aug 1, 2014 · 2 comments
Closed
2 of 50 tasks

Audit modules in hr #18

bwrsandman opened this issue Aug 1, 2014 · 2 comments

Comments

@bwrsandman
Copy link

Some of the code in hr is of poor quality and their uses are questionable

  • Very long functions
  • Multiple classes in same script
  • Very long lists of columns added to models
  • Unclear usage
  • Lack of tests

Suggested Action Plan

  1. Fix style errors with 7.0 linelength #17
  2. Fix build errors
  3. Do the refactoring with the port to v8, keeping the old API - Audit and review
  4. Backport enhancements without v8 specific changes to v7
  5. Port v8 to new API

Modules

  • hr_accrual
  • hr_contract_init
  • hr_contract_reference
  • hr_contract_state
  • hr_department_sequence
  • hr_emergency_contact
  • hr_employee_education
  • hr_employee_firstname
  • hr_employee_id
  • hr_employee_legacy_id
  • hr_employee_phone_extension
  • hr_employee_seniority
  • hr_employee_state
  • hr_experience
  • hr_family
  • hr_holidays_extension
  • hr_infraction
  • hr_job_categories
  • hr_job_hierarchy
  • hr_labour_recruitment
  • hr_labour_union
  • hr_language
  • hr_payroll_extension
  • hr_payroll_period
  • hr_payroll_register
  • hr_payroll_register_report
  • hr_payslip_amendment
  • hr_policy_absence
  • hr_policy_accrual
  • hr_policy_group
  • hr_policy_ot
  • hr_policy_presence
  • hr_public_holidays
  • hr_report_manpower
  • hr_report_payroll_attendance_summary
  • hr_report_payroll_net
  • hr_report_turnover
  • hr_resume
  • hr_schedule
  • hr_security
  • hr_simplify
  • hr_skill
  • hr_transfer
  • hr_wage_increment
  • hr_webcam
@bwrsandman bwrsandman changed the title Audit repos in hr Audit modules in hr Aug 1, 2014
@dreispt
Copy link
Member

dreispt commented Aug 1, 2014

IMO this work should mostly be done in parallel with the port to v8.

My suggested action plan:

  1. Customize the v7 repo TravisCI to ignore style errors.
  2. Fix v7 build errors ASAP to get TravisCI green
  3. Do the refactoring with the port to v8, keeping the old API
  4. And then backport the refactoring to v7.

@bwrsandman
Copy link
Author

I would replace 1) with finishing #17 I'm about half way through and I intend to finish.
I would then add 5) use new api for v8

I problem I see is the changes we will have to do for v8 wont all be back-portable (i.e. changes to xpaths)

sambarros pushed a commit to sambarros/hr that referenced this issue Jul 26, 2018
[BSSFL-97] Custom field on countries
Mraimou pushed a commit to camptocamp/hr that referenced this issue Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants