Skip to content

Conversation

@NehaFathimap
Copy link
Contributor

@NehaFathimap NehaFathimap commented Jan 2, 2026

Feature description

TASK-2025-02888

  1. need to create the employee interview tool single doctype
  2. implement Fetch job applicants based on selected filters
  3. need to Create interviews in bulk for selected applicants
  4. implement Reschedule existing interviews with updated timings
  5. need to make fields editable in interview doctype
  6. make the doctype as unsaved

Solution description

  1. created the employee interview tool doctype
  2. Added to fetch job applicants based on selected filters via employee interview tool.js and employee interview too.py
  3. Implemented bulk interview creation for selected job applicants. via employee interview tool.py and employee interview tool.js
  4. Updated scheduling details for existing interviews via employee interview tool.py and employee interview tool.js
  5. make fields scheduled on , from date and to date fields editable through property setter . unchecked the set only once via setup.py
  6. maked the doctype as insaved

Output screenshots (optional)

image [Screencast from 02-01-26 11:19:04 AM IST.webm](https://github.com/user-attachments/assets/c59ec497-08e7-4fe8-a772-59d8a60a01ff)

Is there any existing behaviour change of other features due to this code change?

No.

Was this feature tested on these browsers?

  • Mozilla Firefox

Copy link
Collaborator

@MhmdSinanKT MhmdSinanKT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code standards

Comment on lines +5 to +28
onload(frm) {
frm.set_value('date', frappe.datetime.get_today());
frm.toggle_display('job_applicants', false);
!frm.doc.company && frappe.db.get_single_value('Global Defaults','default_company')
.then(value => frm.set_value('company',value))
},
refresh : function (frm){
frm.disable_save()
frm.set_value('interview_round', '');
frm.set_value('scheduled_on', '');
frm.set_value('from_time', '');
frm.set_value('to_time', '');
frm.set_value('department', '');
frm.set_value('designation', '');
frm.set_value('status', '');
frm.set_value('job_opening', '');
frm.set_value('location', '');
frm.clear_table('job_applicants');
frm.refresh_field('job_applicants');
frm.toggle_display('job_applicants', false);
fetch_job_applicant(frm);
toggle_create_interview_button(frm);

}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move code out of form events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants