[ { "creation": "2013-01-10 16:34:14", "docstatus": 0, "modified": "2013-07-05 14:40:02", "modified_by": "Administrator", "owner": "Administrator" }, { "doctype": "DocType", "document_type": "Master", "icon": "icon-calendar", "module": "HR", "name": "__common__" }, { "doctype": "DocField", "name": "__common__", "parent": "Holiday List", "parentfield": "fields", "parenttype": "DocType", "permlevel": 0 }, { "cancel": 1, "create": 1, "doctype": "DocPerm", "name": "__common__", "parent": "Holiday List", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, "read": 1, "report": 1, "role": "HR Manager", "submit": 0, "write": 1 }, { "doctype": "DocType", "name": "Holiday List" }, { "doctype": "DocField", "fieldname": "trash_reason", "fieldtype": "Small Text", "label": "Trash Reason", "oldfieldname": "trash_reason", "oldfieldtype": "Small Text", "read_only": 1 }, { "doctype": "DocField", "fieldname": "holiday_list_name", "fieldtype": "Data", "label": "Holiday List Name", "oldfieldname": "holiday_list_name", "oldfieldtype": "Data", "reqd": 1 }, { "doctype": "DocField", "fieldname": "is_default", "fieldtype": "Check", "label": "Default" }, { "doctype": "DocField", "fieldname": "fiscal_year", "fieldtype": "Select", "in_filter": 1, "label": "Fiscal Year", "oldfieldname": "fiscal_year", "oldfieldtype": "Link", "options": "link:Fiscal Year", "reqd": 1 }, { "doctype": "DocField", "fieldname": "weekly_off", "fieldtype": "Select", "label": "Weekly Off", "no_copy": 1, "options": "\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday", "print_hide": 1, "report_hide": 1 }, { "doctype": "DocField", "fieldname": "get_weekly_off_dates", "fieldtype": "Button", "label": "Get Weekly Off Dates", "options": "get_weekly_off_dates" }, { "doctype": "DocField", "fieldname": "holiday_list_details", "fieldtype": "Table", "label": "Holidays", "oldfieldname": "holiday_list_details", "oldfieldtype": "Table", "options": "Holiday", "reqd": 0 }, { "doctype": "DocField", "fieldname": "clear_table", "fieldtype": "Button", "label": "Clear Table", "options": "clear_table" }, { "doctype": "DocPerm" } ]