{
 "actions": [],
 "allow_import": 1,
 "autoname": "HR-SHR-.YY.-.MM.-.#####",
 "creation": "2018-04-13 16:32:27.974273",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "shift_type",
  "employee",
  "employee_name",
  "department",
  "status",
  "column_break_4",
  "company",
  "approver",
  "from_date",
  "to_date",
  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "shift_type",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Shift Type",
   "options": "Shift Type",
   "reqd": 1
  },
  {
   "fieldname": "employee",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Employee",
   "options": "Employee",
   "reqd": 1
  },
  {
   "fetch_from": "employee.employee_name",
   "fieldname": "employee_name",
   "fieldtype": "Data",
   "label": "Employee Name",
   "read_only": 1
  },
  {
   "fetch_from": "employee.department",
   "fieldname": "department",
   "fieldtype": "Link",
   "label": "Department",
   "options": "Department",
   "read_only": 1
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Company",
   "options": "Company",
   "reqd": 1
  },
  {
   "fieldname": "from_date",
   "fieldtype": "Date",
   "label": "From Date",
   "reqd": 1
  },
  {
   "fieldname": "to_date",
   "fieldtype": "Date",
   "label": "To Date"
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Shift Request",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "default": "Draft",
   "fieldname": "status",
   "fieldtype": "Select",
   "label": "Status",
   "options": "Draft\nApproved\nRejected",
   "reqd": 1
  },
  {
   "fetch_from": "employee.shift_request_approver",
   "fetch_if_empty": 1,
   "fieldname": "approver",
   "fieldtype": "Link",
   "label": "Approver",
   "options": "User",
   "reqd": 1
  }
 ],
 "is_submittable": 1,
 "links": [],
 "modified": "2020-08-10 17:59:31.550558",
 "modified_by": "Administrator",
 "module": "HR",
 "name": "Shift Request",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Employee",
   "share": 1,
   "write": 1
  },
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "create": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR User",
   "share": 1,
   "submit": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "employee_name",
 "track_changes": 1
}