brotherton-erpnext/erpnext/hr/doctype
Conor 74a782d81d
refactor: DB independent quoting and truthy/falsy values (#31358)
* refactor: DB independent quoting and truthy/falsy values

* style: reformat to black spec

* fix: ifnull -> coalesce

* fix: coalesce -> Coalesce

* fix: revert pypika comparison

* refactor: convert queries to QB

* fix: incorrect value types for query

`=` query makes no sense with list of values

* fix: remove warehouse docstatus condition

* fix: keep using base rate as rate

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-06-17 17:01:27 +05:30
..
appointment_letter style: format code with black 2022-03-28 18:52:46 +05:30
appointment_letter_content chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
appointment_letter_template chore: set title and search fields in HR and Payroll doctypes (#29351) 2022-01-19 14:42:52 +05:30
appraisal style: format code with black 2022-03-28 18:52:46 +05:30
appraisal_goal chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
appraisal_template style: format code with black 2022-03-28 18:52:46 +05:30
appraisal_template_goal chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
attendance test: fix attendance tests for unmarked days (#31205) 2022-06-01 13:56:55 +05:30
attendance_request style: format code with black 2022-03-28 18:52:46 +05:30
branch style: format code with black 2022-03-28 18:52:46 +05:30
compensatory_leave_request style: format code with black 2022-03-28 18:52:46 +05:30
daily_work_summary style: format code with black 2022-03-28 18:52:46 +05:30
daily_work_summary_group style: format code with black 2022-03-28 18:52:46 +05:30
daily_work_summary_group_user chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
department style: format code with black 2022-03-28 18:52:46 +05:30
department_approver fix: bulk fix (~330) missing translations 2022-04-04 13:59:51 +05:30
designation style: format code with black 2022-03-28 18:52:46 +05:30
designation_skill chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
driver chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
driving_license_category chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee fix: revert show title field on Employee doctype (#31312) 2022-06-10 11:03:51 +05:30
employee_advance refactor: DB independent capitalization of test cases (#31359) 2022-06-15 11:24:24 +05:30
employee_attendance_tool style: format code with black 2022-03-28 18:52:46 +05:30
employee_boarding_activity fix: Employee Onboarding and Separation UX (#29504) 2022-01-29 15:27:36 +05:30
employee_checkin fix: unlink Attendance from Employee Checkins on cancellation (#31045) 2022-05-17 12:07:58 +05:30
employee_education chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_external_work_history chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_grade feat(minor): fetch default salary structure and base from Employee Grade in Salary Structure Assignment (#30918) 2022-05-06 17:44:30 +05:30
employee_grievance style: format code with black 2022-03-28 18:52:46 +05:30
employee_group style: format code with black 2022-03-28 18:52:46 +05:30
employee_group_table fix: show user id in emp group table (#29776) 2022-02-14 09:22:21 +05:30
employee_health_insurance chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_internal_work_history chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_loan Replace 'Make' with 'Create' 2018-12-23 13:25:58 +05:30
employee_onboarding style: format code with black 2022-03-28 18:52:46 +05:30
employee_onboarding_template style: format code with black 2022-03-28 18:52:46 +05:30
employee_promotion fix: reset old CTC on promotion cancellation 2022-04-22 20:20:04 +05:30
employee_property_history chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_referral style: format code with black 2022-03-28 18:52:46 +05:30
employee_separation style: format code with black 2022-03-28 18:52:46 +05:30
employee_separation_template style: format code with black 2022-03-28 18:52:46 +05:30
employee_skill chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_skill_map chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_training chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee_transfer style: format code with black 2022-03-28 18:52:46 +05:30
employment_type style: format code with black 2022-03-28 18:52:46 +05:30
exit_interview refactor: DB independent quoting and truthy/falsy values (#31358) 2022-06-17 17:01:27 +05:30
expected_skill_set chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
expense_claim refactor: ignore linked Payment Ledger Entry in basic transactions 2022-05-20 18:21:47 +05:30
expense_claim_account chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
expense_claim_advance fix(UX): Allocated Amount in Advances not updated on updating expense amount in Expense Claim (#28497) 2021-11-22 20:13:15 +05:30
expense_claim_detail fix: Employee Advance paid amount not updated on PE cancellation (#28572) 2021-11-29 14:23:06 +05:30
expense_claim_type style: format code with black 2022-03-28 18:52:46 +05:30
expense_taxes_and_charges chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
full_and_final_asset chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30
full_and_final_outstanding_statement chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30
full_and_final_statement style: format code with black 2022-03-28 18:52:46 +05:30
grievance_type chore: Clean up imports (#27302) 2021-09-02 16:44:59 +05:30
holiday chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
holiday_list style: format code with black 2022-03-28 18:52:46 +05:30
hr_settings refactor!: drop naming series tool (#31183) 2022-05-31 15:35:40 +05:30
identification_document_type chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
interest style: format code with black 2022-03-28 18:52:46 +05:30
interview style: format code with black 2022-03-28 18:52:46 +05:30
interview_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
interview_feedback style: format code with black 2022-03-28 18:52:46 +05:30
interview_round style: format code with black 2022-03-28 18:52:46 +05:30
interview_type chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
interviewer chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
job_applicant style: format code with black 2022-03-28 18:52:46 +05:30
job_applicant_source chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
job_offer refactor: DB independent quoting and truthy/falsy values (#31358) 2022-06-17 17:01:27 +05:30
job_offer_term chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
job_opening fix: validation message 2022-05-26 13:00:34 +05:30
leave_allocation feat(HR): Leave Type configuration to allow over allocation (#30940) 2022-05-09 21:29:58 +05:30
leave_application refactor: DB independent quoting and truthy/falsy values (#31358) 2022-06-17 17:01:27 +05:30
leave_block_list style: format code with black 2022-03-28 18:52:46 +05:30
leave_block_list_allow chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
leave_block_list_date chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
leave_control_panel style: format code with black 2022-03-28 18:52:46 +05:30
leave_encashment fix: Leave Encashment calculations (#31062) 2022-05-23 10:13:49 +05:30
leave_ledger_entry style: format code with black 2022-03-28 18:52:46 +05:30
leave_period style: format code with black 2022-03-28 18:52:46 +05:30
leave_policy style: format code with black 2022-03-28 18:52:46 +05:30
leave_policy_assignment fix: remove check for already allocated earned leaves (#30931) 2022-05-09 12:15:02 +05:30
leave_policy_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
leave_type feat(HR): Leave Type configuration to allow over allocation (#30940) 2022-05-09 21:29:58 +05:30
offer_term style: format code with black 2022-03-28 18:52:46 +05:30
purpose_of_travel chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
shift_assignment fix: filters not working in Shift Assignment Calendar view (#30752) 2022-04-20 14:56:06 +05:30
shift_request Revert "feat: Scheduling Multiple shifts and Auto Attendance" (#30587) 2022-04-06 11:18:47 +05:30
shift_type fix(UX): record reason for skipping attendance or marking absent for auto attendance (#30844) 2022-04-29 15:46:00 +05:30
skill chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
skill_assessment chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
staffing_plan test: Job Opening against a Staffing Plan 2022-05-26 11:32:46 +05:30
staffing_plan_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
training_event chore: Remove course links from training doctypes 2022-04-28 13:49:34 +05:30
training_event_employee chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
training_feedback chore: Remove course links from training doctypes 2022-04-28 13:49:34 +05:30
training_program style: format code with black 2022-03-28 18:52:46 +05:30
training_result style: format code with black 2022-03-28 18:52:46 +05:30
training_result_employee chore: drop deprecated qunit tests 2021-12-20 17:03:10 +05:30
travel_itinerary chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
travel_request chore: set title and search fields in HR and Payroll doctypes (#29351) 2022-01-19 14:42:52 +05:30
travel_request_costing chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
upload_attendance style: format code with black 2022-03-28 18:52:46 +05:30
vehicle style: format code with black 2022-03-28 18:52:46 +05:30
vehicle_log style: format code with black 2022-03-28 18:52:46 +05:30
vehicle_service chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
__init__.py chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30