[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-10-02 18:51:49", 
  "modified_by": "Administrator", 
  "modified": "2012-10-17 12:51:44"
 }, 
 {
  "section_style": "Simple", 
  "is_submittable": 1, 
  "search_fields": "employee,employee_name,leave_type,total_leaves_allocated,fiscal_year", 
  "module": "HR", 
  "server_code_error": " ", 
  "autoname": "LAL/.#####", 
  "_last_update": "1317365120", 
  "name": "__common__", 
  "colour": "White:FFF", 
  "doctype": "DocType", 
  "show_in_menu": 0, 
  "version": 1
 }, 
 {
  "name": "__common__", 
  "parent": "Leave Allocation", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "Leave Allocation", 
  "read": 1, 
  "doctype": "DocPerm", 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "Leave Allocation", 
  "doctype": "DocType"
 }, 
 {
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break0", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Employee", 
  "oldfieldname": "employee", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "employee", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "options": "Employee", 
  "in_filter": 1
 }, 
 {
  "search_index": 1, 
  "doctype": "DocField", 
  "label": "Employee Name", 
  "fieldname": "employee_name", 
  "fieldtype": "Data", 
  "permlevel": 1, 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Leave Type", 
  "oldfieldname": "leave_type", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "leave_type", 
  "fieldtype": "Select", 
  "search_index": 1, 
  "reqd": 1, 
  "options": "link:Leave Type", 
  "in_filter": 1
 }, 
 {
  "no_copy": 1, 
  "oldfieldtype": "Date", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Posting Date", 
  "oldfieldname": "date", 
  "default": "Today", 
  "fieldname": "posting_date", 
  "fieldtype": "Date", 
  "search_index": 0, 
  "reqd": 1, 
  "hidden": 0, 
  "permlevel": 1
 }, 
 {
  "oldfieldtype": "Data", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Fiscal Year", 
  "oldfieldname": "fiscal_year", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "fiscal_year", 
  "fieldtype": "Select", 
  "search_index": 1, 
  "reqd": 1, 
  "options": "link:Fiscal Year", 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Small Text", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Description", 
  "oldfieldname": "reason", 
  "width": "300px", 
  "fieldname": "description", 
  "fieldtype": "Small Text", 
  "hidden": 0, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Carry Forward", 
  "trigger": "Client", 
  "fieldname": "carry_forward", 
  "fieldtype": "Check", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Carry Forwarded Leaves", 
  "trigger": "Client", 
  "fieldname": "carry_forwarded_leaves", 
  "fieldtype": "Currency", 
  "permlevel": 0
 }, 
 {
  "allow_on_submit": 1, 
  "doctype": "DocField", 
  "label": "New Leaves Allocated", 
  "trigger": "Client", 
  "fieldname": "new_leaves_allocated", 
  "fieldtype": "Currency", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Total Leaves Allocated", 
  "fieldname": "total_leaves_allocated", 
  "fieldtype": "Currency", 
  "reqd": 1, 
  "permlevel": 1
 }, 
 {
  "print_hide": 1, 
  "no_copy": 1, 
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Amended From", 
  "oldfieldname": "amended_from", 
  "fieldname": "amended_from", 
  "fieldtype": "Data", 
  "hidden": 0, 
  "permlevel": 1
 }, 
 {
  "print_hide": 1, 
  "description": "The date at which current entry is corrected in the system.", 
  "no_copy": 1, 
  "oldfieldtype": "Date", 
  "doctype": "DocField", 
  "label": "Amendment Date", 
  "oldfieldname": "amendment_date", 
  "fieldname": "amendment_date", 
  "fieldtype": "Date", 
  "hidden": 0, 
  "permlevel": 1
 }, 
 {
  "amend": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 1, 
  "write": 1, 
  "cancel": 1, 
  "role": "HR User", 
  "report": 1, 
  "permlevel": 0, 
  "match": "owner"
 }, 
 {
  "amend": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 1, 
  "write": 1, 
  "report": 1, 
  "role": "HR Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "role": "All", 
  "permlevel": 1, 
  "doctype": "DocPerm"
 }
]