added report permissions to txt files

This commit is contained in:
Rushabh Mehta
2013-01-21 14:22:07 +05:30
parent 1a6220a332
commit bb9968491b
99 changed files with 1723 additions and 1497 deletions

View File

@@ -11,12 +11,12 @@
"is_submittable": 1,
"search_fields": "status, employee, employee_name",
"module": "HR",
"doctype": "DocType",
"server_code_error": " ",
"autoname": "APRSL.#####",
"_last_update": "1316075905",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1316075905",
"doctype": "DocType",
"show_in_menu": 0,
"version": 1
},
@@ -54,11 +54,11 @@
"doctype": "DocField",
"label": "Appraisal Template",
"oldfieldname": "kra_template",
"options": "Appraisal Template",
"permlevel": 0,
"fieldname": "kra_template",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 0
"options": "Appraisal Template"
},
{
"doctype": "DocField",
@@ -99,17 +99,17 @@
},
{
"permlevel": 1,
"depends_on": "kra_template",
"doctype": "DocField",
"no_copy": 1,
"search_index": 1,
"colour": "White:FFF",
"doctype": "DocField",
"oldfieldtype": "Select",
"label": "Status",
"oldfieldname": "status",
"default": "Draft",
"fieldname": "status",
"fieldtype": "Select",
"oldfieldtype": "Select",
"depends_on": "kra_template",
"reqd": 1,
"options": "\nDraft\nSubmitted\nCompleted\nCancelled",
"in_filter": 1
@@ -142,11 +142,11 @@
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Goals",
"permlevel": 0,
"options": "Simple",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"depends_on": "kra_template",
"options": "Simple"
"permlevel": 0
},
{
"oldfieldtype": "Table",
@@ -155,20 +155,20 @@
"doctype": "DocField",
"label": "Appraisal Goals",
"oldfieldname": "appraisal_details",
"permlevel": 0,
"options": "Appraisal Goal",
"fieldname": "appraisal_details",
"fieldtype": "Table",
"options": "Appraisal Goal"
"permlevel": 0
},
{
"oldfieldtype": "Button",
"allow_on_submit": 0,
"doctype": "DocField",
"label": "Calculate Total Score",
"permlevel": 0,
"options": "calculate_total",
"fieldname": "calculate_total_score",
"fieldtype": "Button",
"options": "calculate_total"
"permlevel": 0
},
{
"no_copy": 1,
@@ -209,11 +209,11 @@
"doctype": "DocField",
"label": "Company",
"oldfieldname": "company",
"permlevel": 0,
"options": "link:Company",
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"options": "link:Company",
"permlevel": 0,
"in_filter": 1
},
{
@@ -221,11 +221,11 @@
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"permlevel": 0,
"options": "link:Fiscal Year",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"reqd": 1,
"options": "link:Fiscal Year",
"permlevel": 0,
"in_filter": 1
},
{
@@ -262,6 +262,7 @@
"submit": 0,
"write": 1,
"role": "Employee",
"report": 1,
"permlevel": 0,
"match": "owner"
},
@@ -271,6 +272,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "System Manager",
"cancel": 1,
"permlevel": 0
@@ -281,6 +283,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "HR User",
"cancel": 1,
"permlevel": 0

View File

@@ -7,10 +7,10 @@
"modified": "2013-01-07 17:16:25"
},
{
"autoname": "field:kra_title",
"name": "__common__",
"doctype": "DocType",
"autoname": "field:kra_title",
"module": "HR",
"doctype": "DocType",
"document_type": "Master"
},
{
@@ -24,6 +24,7 @@
{
"parent": "Appraisal Template",
"read": 1,
"report": 1,
"name": "__common__",
"create": 1,
"doctype": "DocPerm",
@@ -67,9 +68,9 @@
},
{
"doctype": "DocField",
"label": "Total Points",
"fieldname": "total_points",
"fieldtype": "Int"
"fieldtype": "Int",
"label": "Total Points"
},
{
"doctype": "DocPerm"

View File

@@ -7,13 +7,13 @@
"modified": "2012-12-23 09:42:45"
},
{
"document_type": "Master",
"is_submittable": 1,
"autoname": "naming_series:",
"name": "__common__",
"search_fields": "employee, employee_name, att_date, status",
"autoname": "naming_series:",
"module": "HR",
"doctype": "DocType",
"document_type": "Master"
"search_fields": "employee, employee_name, att_date, status"
},
{
"name": "__common__",
@@ -31,8 +31,9 @@
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"report": 1,
"permlevel": 0,
"cancel": 1,
"parentfield": "permissions"
},
{
@@ -43,10 +44,10 @@
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Attendance Details",
"options": "Simple",
"permlevel": 0,
"fieldname": "attendance_details",
"fieldtype": "Section Break",
"permlevel": 0
"options": "Simple"
},
{
"no_copy": 1,
@@ -54,23 +55,23 @@
"doctype": "DocField",
"label": "Naming Series",
"oldfieldname": "naming_series",
"options": "ATT",
"permlevel": 0,
"fieldname": "naming_series",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0
"options": "ATT"
},
{
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Employee",
"oldfieldname": "employee",
"options": "Employee",
"permlevel": 0,
"fieldname": "employee",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"permlevel": 0,
"options": "Employee",
"in_filter": 1
},
{
@@ -88,12 +89,12 @@
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"permlevel": 0,
"options": "\nPresent\nAbsent\nHalf Day",
"fieldname": "status",
"fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"options": "\nPresent\nAbsent\nHalf Day",
"permlevel": 0,
"in_filter": 1
},
{
@@ -102,11 +103,11 @@
"doctype": "DocField",
"label": "Leave Type",
"oldfieldname": "leave_type",
"options": "Leave Type",
"permlevel": 0,
"fieldname": "leave_type",
"fieldtype": "Link",
"hidden": 1,
"permlevel": 0,
"options": "Leave Type",
"report_hide": 1
},
{
@@ -134,11 +135,11 @@
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"options": "link:Fiscal Year",
"permlevel": 0,
"fieldname": "fiscal_year",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Fiscal Year",
"in_filter": 1
},
{
@@ -146,11 +147,11 @@
"doctype": "DocField",
"label": "Company",
"oldfieldname": "company",
"options": "link:Company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Company",
"in_filter": 1
},
{
@@ -169,10 +170,10 @@
"no_copy": 1,
"doctype": "DocField",
"label": "Amended From",
"options": "Attendance",
"permlevel": 1,
"fieldname": "amended_from",
"fieldtype": "Link",
"permlevel": 1
"options": "Attendance"
},
{
"role": "System Manager",

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:branch",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:branch",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 11
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Branch",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:deduction_name",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:deduction_name",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 10
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Deduction Type",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:department_name",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:department_name",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 7
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Department",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:designation_name",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:designation_name",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 7
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Designation",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:earning_name",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:earning_name",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 13
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Earning Type",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},
@@ -90,12 +91,12 @@
"doctype": "DocField",
"label": "Taxable",
"oldfieldname": "taxable",
"permlevel": 0,
"trigger": "Client",
"fieldname": "taxable",
"fieldtype": "Select",
"reqd": 1,
"options": "\nYes\nNo",
"permlevel": 0
"options": "\nYes\nNo"
},
{
"oldfieldtype": "Currency",

View File

@@ -7,12 +7,12 @@
"modified": "2013-01-09 14:46:42"
},
{
"autoname": "naming_series:",
"document_type": "Master",
"allow_attach": 1,
"search_fields": "employee_name",
"autoname": "naming_series:",
"module": "HR",
"doctype": "DocType",
"document_type": "Master",
"search_fields": "employee_name",
"name": "__common__"
},
{
@@ -53,10 +53,10 @@
},
{
"doctype": "DocField",
"label": "Image View",
"options": "image",
"fieldname": "image_view",
"fieldtype": "Image",
"label": "Image View",
"permlevel": 0
},
{
@@ -77,22 +77,22 @@
"doctype": "DocField",
"label": "Naming Series",
"oldfieldname": "naming_series",
"options": "EMP/",
"permlevel": 0,
"fieldname": "naming_series",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 0
"options": "EMP/"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Salutation",
"oldfieldname": "salutation",
"options": "\nMr\nMs",
"permlevel": 0,
"fieldname": "salutation",
"fieldtype": "Select",
"search_index": 0,
"permlevel": 0
"options": "\nMr\nMs"
},
{
"oldfieldtype": "Data",
@@ -106,10 +106,10 @@
},
{
"doctype": "DocField",
"label": "Image",
"options": "attach_files:",
"fieldname": "image",
"fieldtype": "Select",
"label": "Image",
"permlevel": 0
},
{
@@ -123,10 +123,10 @@
"description": "System User (login) ID. If set, it will become default for all HR forms.",
"doctype": "DocField",
"label": "User ID",
"options": "Profile",
"permlevel": 0,
"fieldname": "user_id",
"fieldtype": "Link",
"permlevel": 0
"options": "Profile"
},
{
"oldfieldtype": "Data",
@@ -167,23 +167,23 @@
"doctype": "DocField",
"label": "Gender",
"oldfieldname": "gender",
"options": "\nMale\nFemale",
"permlevel": 0,
"fieldname": "gender",
"fieldtype": "Select",
"search_index": 0,
"reqd": 1,
"permlevel": 0,
"options": "\nMale\nFemale",
"in_filter": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Company",
"options": "link:Company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Company",
"in_filter": 1
},
{
@@ -205,12 +205,12 @@
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"permlevel": 0,
"options": "\nActive\nLeft",
"fieldname": "status",
"fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"options": "\nActive\nLeft",
"permlevel": 0,
"in_filter": 1
},
{
@@ -218,11 +218,11 @@
"doctype": "DocField",
"label": "Employment Type",
"oldfieldname": "employment_type",
"options": "Employment Type",
"permlevel": 0,
"fieldname": "employment_type",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 0,
"options": "Employment Type",
"in_filter": 1
},
{
@@ -231,10 +231,10 @@
"doctype": "DocField",
"label": "Holiday List",
"oldfieldname": "holiday_list",
"options": "Holiday List",
"permlevel": 0,
"fieldname": "holiday_list",
"fieldtype": "Link",
"permlevel": 0
"options": "Holiday List"
},
{
"doctype": "DocField",
@@ -302,11 +302,11 @@
"doctype": "DocField",
"label": "Branch",
"oldfieldname": "branch",
"options": "Branch",
"permlevel": 0,
"fieldname": "branch",
"fieldtype": "Link",
"reqd": 0,
"permlevel": 0,
"options": "Branch",
"in_filter": 1
},
{
@@ -314,11 +314,11 @@
"doctype": "DocField",
"label": "Department",
"oldfieldname": "department",
"options": "Department",
"permlevel": 0,
"fieldname": "department",
"fieldtype": "Link",
"reqd": 0,
"permlevel": 0,
"options": "Department",
"in_filter": 1
},
{
@@ -326,12 +326,12 @@
"doctype": "DocField",
"label": "Designation",
"oldfieldname": "designation",
"options": "Designation",
"permlevel": 0,
"fieldname": "designation",
"fieldtype": "Link",
"search_index": 1,
"reqd": 0,
"permlevel": 0,
"options": "Designation",
"in_filter": 1
},
{
@@ -339,11 +339,11 @@
"doctype": "DocField",
"label": "Grade",
"oldfieldname": "grade",
"options": "Grade",
"permlevel": 0,
"fieldname": "grade",
"fieldtype": "Link",
"reqd": 0,
"permlevel": 0,
"options": "Grade",
"in_filter": 1
},
{
@@ -351,10 +351,10 @@
"doctype": "DocField",
"label": "Reports to",
"oldfieldname": "reports_to",
"options": "Employee",
"permlevel": 0,
"fieldname": "reports_to",
"fieldtype": "Link",
"permlevel": 0
"options": "Employee"
},
{
"description": "Provide email id registered in company",
@@ -382,22 +382,22 @@
"doctype": "DocField",
"label": "Salary Mode",
"oldfieldname": "salary_mode",
"options": "\nBank\nCash\nCheque",
"permlevel": 0,
"fieldname": "salary_mode",
"fieldtype": "Select",
"permlevel": 0
"options": "\nBank\nCash\nCheque"
},
{
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Bank Name",
"oldfieldname": "bank_name",
"options": "Suggest",
"permlevel": 0,
"fieldname": "bank_name",
"fieldtype": "Data",
"depends_on": "eval:doc.salary_mode == 'Bank'",
"hidden": 0,
"permlevel": 0,
"options": "Suggest",
"in_filter": 1
},
{
@@ -477,10 +477,10 @@
},
{
"doctype": "DocField",
"label": "Emergency Contact Details",
"options": "<b>Emergency Contact Details</b>",
"fieldname": "emergency_contact_details",
"fieldtype": "HTML",
"label": "Emergency Contact Details",
"permlevel": 0
},
{
@@ -513,10 +513,10 @@
},
{
"doctype": "DocField",
"label": "Permanent Accommodation Type",
"options": "\nRented\nOwned",
"fieldname": "permanent_accommodation_type",
"fieldtype": "Select",
"label": "Permanent Accommodation Type",
"permlevel": 0
},
{
@@ -528,10 +528,10 @@
},
{
"doctype": "DocField",
"label": "Current Accommodation Type",
"options": "\nRented\nOwned",
"fieldname": "current_accommodation_type",
"fieldtype": "Select",
"label": "Current Accommodation Type",
"permlevel": 0
},
{
@@ -616,18 +616,18 @@
},
{
"doctype": "DocField",
"label": "Marital Status",
"options": "\nSingle\nMarried\nDivorced\nWidowed",
"fieldname": "marital_status",
"fieldtype": "Select",
"label": "Marital Status",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Blood Group",
"options": "\nA+\nA-\nB+\nB-\nAB+\nAB-\nO+\nO-",
"fieldname": "blood_group",
"fieldtype": "Select",
"label": "Blood Group",
"permlevel": 0
},
{
@@ -662,10 +662,10 @@
},
{
"doctype": "DocField",
"label": "Educational Qualification Details",
"options": "Employee Education",
"fieldname": "educational_qualification_details",
"fieldtype": "Table",
"label": "Educational Qualification Details",
"permlevel": 0
},
{
@@ -677,34 +677,34 @@
},
{
"doctype": "DocField",
"label": "Previous Work Experience",
"options": "Simple",
"fieldname": "previous_work_experience",
"fieldtype": "Section Break",
"label": "Previous Work Experience",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Employee External Work History",
"options": "Employee External Work History",
"fieldname": "previous_experience_details",
"fieldtype": "Table",
"label": "Employee External Work History",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "History In Company",
"options": "Simple",
"fieldname": "history_in_company",
"fieldtype": "Section Break",
"label": "History In Company",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Employee Internal Work Historys",
"options": "Employee Internal Work History",
"fieldname": "experience_in_company_details",
"fieldtype": "Table",
"label": "Employee Internal Work Historys",
"permlevel": 0
},
{
@@ -755,10 +755,10 @@
"doctype": "DocField",
"label": "Leave Encashed?",
"oldfieldname": "leave_encashed",
"options": "\nYes\nNo",
"permlevel": 0,
"fieldname": "leave_encashed",
"fieldtype": "Select",
"permlevel": 0
"options": "\nYes\nNo"
},
{
"oldfieldtype": "Date",
@@ -793,10 +793,10 @@
"doctype": "DocField",
"label": "Reason for Resignation",
"oldfieldname": "reason_for_resignation",
"options": "\nBetter Prospects\nHealth Concerns",
"permlevel": 0,
"fieldname": "reason_for_resignation",
"fieldtype": "Select",
"permlevel": 0
"options": "\nBetter Prospects\nHealth Concerns"
},
{
"oldfieldtype": "Data",
@@ -838,8 +838,9 @@
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Employee",
"cancel": 0,
"role": "Employee",
"report": 1,
"permlevel": 0,
"match": "employee"
},
@@ -855,8 +856,9 @@
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "HR User",
"cancel": 1,
"role": "HR User",
"report": 1,
"permlevel": 0,
"match": "company"
},
@@ -864,6 +866,7 @@
"create": 1,
"doctype": "DocPerm",
"write": 1,
"report": 1,
"role": "HR Manager",
"cancel": 1,
"permlevel": 0

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:employee_type_name",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:employee_type_name",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 16
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Employment Type",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},

View File

@@ -8,11 +8,11 @@
},
{
"is_submittable": 1,
"autoname": "EXP.######",
"name": "__common__",
"search_fields": "approval_status,employee,employee_name",
"autoname": "EXP.######",
"module": "HR",
"doctype": "DocType"
"doctype": "DocType",
"search_fields": "approval_status,employee,employee_name"
},
{
"name": "__common__",
@@ -67,7 +67,6 @@
"permlevel": 0
},
{
"reqd": 0,
"no_copy": 1,
"oldfieldtype": "Currency",
"colour": "White:FFF",
@@ -77,6 +76,7 @@
"width": "160px",
"fieldname": "total_claimed_amount",
"fieldtype": "Currency",
"reqd": 0,
"permlevel": 1,
"in_filter": 0
},
@@ -107,30 +107,30 @@
"doctype": "DocField",
"label": "Expense Claim Details",
"oldfieldname": "expense_voucher_details",
"options": "Expense Claim Detail",
"permlevel": 0,
"fieldname": "expense_voucher_details",
"fieldtype": "Table",
"permlevel": 0
"options": "Expense Claim Detail"
},
{
"doctype": "DocField",
"options": "Simple",
"permlevel": 0,
"fieldname": "sb1",
"fieldtype": "Section Break",
"permlevel": 0
"options": "Simple"
},
{
"permlevel": 0,
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "From Employee",
"oldfieldname": "employee",
"reqd": 1,
"permlevel": 0,
"trigger": "Client",
"fieldname": "employee",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"options": "Employee",
"in_filter": 1
},
@@ -151,11 +151,11 @@
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"options": "link:Fiscal Year",
"permlevel": 0,
"fieldname": "fiscal_year",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Fiscal Year",
"in_filter": 1
},
{
@@ -163,11 +163,11 @@
"doctype": "DocField",
"label": "Company",
"oldfieldname": "company",
"options": "link:Company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Company",
"in_filter": 1
},
{
@@ -188,10 +188,10 @@
"in_filter": 1
},
{
"allow_on_submit": 0,
"no_copy": 1,
"oldfieldtype": "Small Text",
"colour": "White:FFF",
"allow_on_submit": 0,
"doctype": "DocField",
"label": "Remark",
"oldfieldname": "remark",
@@ -243,6 +243,7 @@
"doctype": "DocPerm",
"write": 1,
"role": "Employee",
"report": 1,
"permlevel": 0,
"match": "owner"
},
@@ -252,8 +253,9 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Expense Approver",
"cancel": 1,
"role": "Expense Approver",
"report": 1,
"permlevel": 0,
"match": "exp_approver:user"
},
@@ -263,13 +265,14 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "HR User",
"cancel": 1,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "All",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
}
]

View File

@@ -9,12 +9,12 @@
{
"section_style": "Simple",
"name": "__common__",
"autoname": "field:expense_type",
"colour": "White:FFF",
"module": "HR",
"server_code_error": " ",
"version": 5,
"doctype": "DocType",
"autoname": "field:expense_type",
"document_type": "Master"
},
{
@@ -32,6 +32,7 @@
"create": 1,
"doctype": "DocPerm",
"write": 1,
"report": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:grade_name",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:grade_name",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 7
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Grade",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},

View File

@@ -9,12 +9,12 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"allow_trash": 1,
"document_type": "Master",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 17
},
@@ -28,10 +28,11 @@
{
"parent": "Holiday List",
"read": 1,
"doctype": "DocPerm",
"report": 1,
"cancel": 1,
"name": "__common__",
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"role": "HR Manager",
@@ -76,11 +77,11 @@
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"permlevel": 0,
"options": "link:Fiscal Year",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"reqd": 1,
"options": "link:Fiscal Year",
"permlevel": 0,
"in_filter": 1
},
{
@@ -88,10 +89,10 @@
"no_copy": 1,
"doctype": "DocField",
"label": "Weekly Off",
"permlevel": 0,
"options": "\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday",
"fieldname": "weekly_off",
"fieldtype": "Select",
"options": "\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday",
"permlevel": 0,
"report_hide": 1
},
{
@@ -107,11 +108,11 @@
"doctype": "DocField",
"label": "Holidays",
"oldfieldname": "holiday_list_details",
"permlevel": 0,
"options": "Holiday",
"fieldname": "holiday_list_details",
"fieldtype": "Table",
"reqd": 0,
"options": "Holiday"
"permlevel": 0
},
{
"doctype": "DocField",

View File

@@ -11,12 +11,12 @@
"is_submittable": 1,
"search_fields": "employee,employee_name,leave_type,total_leaves_allocated,fiscal_year",
"module": "HR",
"doctype": "DocType",
"server_code_error": " ",
"autoname": "LAL/.#####",
"_last_update": "1317365120",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1317365120",
"doctype": "DocType",
"show_in_menu": 0,
"version": 1
},
@@ -198,8 +198,9 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "HR User",
"cancel": 1,
"role": "HR User",
"report": 1,
"permlevel": 0,
"match": "owner"
},
@@ -209,6 +210,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "HR Manager",
"cancel": 1,
"permlevel": 0

View File

@@ -7,13 +7,13 @@
"modified": "2013-01-01 15:13:51"
},
{
"document_type": "Transaction",
"is_submittable": 1,
"autoname": "LAP/.#####",
"description": "Apply / Approve Leaves",
"search_fields": "employee,employee_name,leave_type,from_date,to_date,total_leave_days,fiscal_year",
"autoname": "LAP/.#####",
"module": "HR",
"doctype": "DocType",
"document_type": "Transaction",
"search_fields": "employee,employee_name,leave_type,from_date,to_date,total_leave_days,fiscal_year",
"name": "__common__"
},
{
@@ -37,33 +37,33 @@
"doctype": "DocType"
},
{
"permlevel": 2,
"default": "Open",
"doctype": "DocField",
"label": "Status",
"no_copy": 1,
"options": "Open\nApproved\nRejected",
"fieldname": "status",
"fieldtype": "Select",
"permlevel": 2
"options": "Open\nApproved\nRejected"
},
{
"description": "Leave can be approved by users with Role, \"Leave Approver\"",
"doctype": "DocField",
"label": "Leave Approver",
"options": "link:Profile",
"permlevel": 0,
"fieldname": "leave_approver",
"fieldtype": "Select",
"permlevel": 0
"options": "link:Profile"
},
{
"search_index": 1,
"doctype": "DocField",
"label": "Leave Type",
"options": "link:Leave Type",
"permlevel": 0,
"fieldname": "leave_type",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Leave Type",
"in_filter": 1
},
{
@@ -110,11 +110,11 @@
"search_index": 1,
"doctype": "DocField",
"label": "Employee",
"options": "Employee",
"permlevel": 0,
"fieldname": "employee",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 0,
"options": "Employee",
"in_filter": 1
},
{
@@ -167,11 +167,11 @@
"search_index": 0,
"doctype": "DocField",
"label": "Fiscal Year",
"options": "link:Fiscal Year",
"permlevel": 2,
"fieldname": "fiscal_year",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 2,
"options": "link:Fiscal Year",
"in_filter": 1
},
{
@@ -179,25 +179,26 @@
"print_hide": 1,
"doctype": "DocField",
"label": "Letter Head",
"options": "Letter Head",
"permlevel": 2,
"fieldname": "letter_head",
"fieldtype": "Link",
"permlevel": 2
"options": "Letter Head"
},
{
"print_hide": 1,
"no_copy": 1,
"doctype": "DocField",
"label": "Amended From",
"options": "Sales Invoice",
"permlevel": 1,
"fieldname": "amended_from",
"fieldtype": "Link",
"permlevel": 1
"options": "Sales Invoice"
},
{
"create": 1,
"doctype": "DocPerm",
"role": "Employee",
"report": 1,
"permlevel": 0,
"match": "employee"
},
@@ -206,6 +207,7 @@
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"report": 1,
"role": "HR User",
"cancel": 1,
"permlevel": 0
@@ -215,15 +217,16 @@
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"role": "Leave Approver",
"cancel": 1,
"role": "Leave Approver",
"report": 1,
"permlevel": 0,
"match": "leave_approver:user"
},
{
"doctype": "DocPerm",
"role": "HR User",
"permlevel": 2
"permlevel": 2,
"doctype": "DocPerm"
},
{
"amend": 0,

View File

@@ -9,13 +9,13 @@
{
"section_style": "Simple",
"module": "HR",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:leave_type_name",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:leave_type_name",
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"show_in_menu": 0,
"version": 23
},
@@ -27,14 +27,15 @@
"parentfield": "fields"
},
{
"report": 1,
"name": "__common__",
"parent": "Leave Type",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},

View File

@@ -12,10 +12,10 @@
"name": "__common__",
"colour": "White:FFF",
"module": "HR",
"show_in_menu": 0,
"version": 6,
"server_code_error": " ",
"doctype": "DocType"
"version": 6,
"doctype": "DocType",
"show_in_menu": 0
},
{
"name": "__common__",
@@ -39,6 +39,7 @@
},
{
"write": 1,
"report": 1,
"permlevel": 0,
"doctype": "DocPerm"
},

View File

@@ -9,8 +9,8 @@
{
"is_submittable": 1,
"name": "__common__",
"doctype": "DocType",
"module": "HR"
"module": "HR",
"doctype": "DocType"
},
{
"name": "__common__",
@@ -45,12 +45,12 @@
"doctype": "DocField",
"label": "Employee",
"oldfieldname": "employee",
"permlevel": 0,
"options": "Employee",
"fieldname": "employee",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"options": "Employee",
"permlevel": 0,
"in_filter": 1
},
{
@@ -69,12 +69,12 @@
"doctype": "DocField",
"label": "Department",
"oldfieldname": "department",
"options": "Department",
"permlevel": 1,
"fieldname": "department",
"fieldtype": "Link",
"search_index": 0,
"reqd": 0,
"permlevel": 1,
"options": "Department",
"in_filter": 1
},
{
@@ -82,11 +82,11 @@
"doctype": "DocField",
"label": "Designation",
"oldfieldname": "designation",
"options": "Designation",
"permlevel": 1,
"fieldname": "designation",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 1,
"options": "Designation",
"in_filter": 1
},
{
@@ -94,11 +94,11 @@
"doctype": "DocField",
"label": "Branch",
"oldfieldname": "branch",
"options": "Branch",
"permlevel": 1,
"fieldname": "branch",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 1,
"options": "Branch",
"in_filter": 1
},
{
@@ -106,11 +106,11 @@
"doctype": "DocField",
"label": "Grade",
"oldfieldname": "grade",
"options": "Grade",
"permlevel": 1,
"fieldname": "grade",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 1,
"options": "Grade",
"in_filter": 1
},
{
@@ -133,10 +133,10 @@
},
{
"doctype": "DocField",
"label": "Letter Head",
"options": "Letter Head",
"fieldname": "letter_head",
"fieldtype": "Link",
"label": "Letter Head",
"permlevel": 0
},
{
@@ -153,22 +153,22 @@
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"permlevel": 0,
"options": "Fiscal Year",
"fieldname": "fiscal_year",
"fieldtype": "Link",
"search_index": 0,
"reqd": 1,
"options": "Fiscal Year",
"permlevel": 0,
"in_filter": 1
},
{
"doctype": "DocField",
"label": "Company",
"options": "link:Company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Company",
"in_filter": 1
},
{
@@ -300,10 +300,10 @@
"doctype": "DocField",
"label": "Salary Structure Earnings",
"oldfieldname": "earning_details",
"options": "Salary Slip Earning",
"permlevel": 0,
"fieldname": "earning_details",
"fieldtype": "Table",
"permlevel": 0
"options": "Salary Slip Earning"
},
{
"oldfieldtype": "Column Break",
@@ -320,10 +320,10 @@
"doctype": "DocField",
"label": "Deductions",
"oldfieldname": "deduction_details",
"options": "Salary Slip Deduction",
"permlevel": 0,
"fieldname": "deduction_details",
"fieldtype": "Table",
"permlevel": 0
"options": "Salary Slip Deduction"
},
{
"oldfieldtype": "Section Break",
@@ -421,6 +421,7 @@
"submit": 1,
"write": 1,
"role": "HR User",
"report": 1,
"permlevel": 0
},
{
@@ -429,18 +430,19 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "HR Manager",
"cancel": 1,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "HR User",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
},
{
"doctype": "DocPerm",
"role": "HR Manager",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
}
]

View File

@@ -12,10 +12,10 @@
"name": "__common__",
"colour": "White:FFF",
"module": "HR",
"show_in_menu": 0,
"version": 9,
"server_code_error": " ",
"doctype": "DocType"
"version": 9,
"doctype": "DocType",
"show_in_menu": 0
},
{
"name": "__common__",
@@ -28,6 +28,7 @@
{
"parent": "Salary Slip Deduction",
"read": 1,
"report": 1,
"name": "__common__",
"create": 1,
"doctype": "DocPerm",
@@ -45,15 +46,15 @@
"doctype": "DocPerm"
},
{
"permlevel": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Type",
"oldfieldname": "d_type",
"width": "200px",
"options": "Deduction Type",
"fieldname": "d_type",
"fieldtype": "Link",
"options": "Deduction Type"
"permlevel": 0
},
{
"oldfieldtype": "Currency",

View File

@@ -12,10 +12,10 @@
"name": "__common__",
"colour": "White:FFF",
"module": "HR",
"show_in_menu": 0,
"version": 7,
"server_code_error": " ",
"doctype": "DocType"
"version": 7,
"doctype": "DocType",
"show_in_menu": 0
},
{
"name": "__common__",
@@ -27,6 +27,7 @@
{
"parent": "Salary Slip Earning",
"read": 1,
"report": 1,
"name": "__common__",
"create": 1,
"doctype": "DocPerm",
@@ -44,15 +45,15 @@
"doctype": "DocPerm"
},
{
"permlevel": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Type",
"oldfieldname": "e_type",
"width": "200px",
"options": "Earning Type",
"fieldname": "e_type",
"fieldtype": "Link",
"options": "Earning Type"
"permlevel": 0
},
{
"oldfieldtype": "Currency",

View File

@@ -8,8 +8,8 @@
},
{
"name": "__common__",
"doctype": "DocType",
"module": "HR"
"module": "HR",
"doctype": "DocType"
},
{
"name": "__common__",
@@ -44,12 +44,12 @@
"doctype": "DocField",
"label": "Employee",
"oldfieldname": "employee",
"permlevel": 0,
"trigger": "Client",
"fieldname": "employee",
"fieldtype": "Link",
"reqd": 1,
"options": "Employee",
"permlevel": 0,
"in_filter": 1
},
{
@@ -67,11 +67,11 @@
"doctype": "DocField",
"label": "Branch",
"oldfieldname": "branch",
"options": "link:Branch",
"permlevel": 1,
"fieldname": "branch",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"options": "link:Branch",
"in_filter": 1
},
{
@@ -80,11 +80,11 @@
"doctype": "DocField",
"label": "Designation",
"oldfieldname": "designation",
"options": "link:Designation",
"permlevel": 1,
"fieldname": "designation",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"options": "link:Designation",
"in_filter": 1
},
{
@@ -93,11 +93,11 @@
"doctype": "DocField",
"label": "Department",
"oldfieldname": "department",
"options": "link:Department",
"permlevel": 1,
"fieldname": "department",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"options": "link:Department",
"in_filter": 1
},
{
@@ -106,11 +106,11 @@
"doctype": "DocField",
"label": "Grade",
"oldfieldname": "grade",
"options": "link:Grade",
"permlevel": 1,
"fieldname": "grade",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"options": "link:Grade",
"in_filter": 1
},
{
@@ -127,11 +127,11 @@
"doctype": "DocField",
"label": "Is Active",
"oldfieldname": "is_active",
"permlevel": 0,
"options": "\nYes\nNo",
"fieldname": "is_active",
"fieldtype": "Select",
"reqd": 1,
"options": "\nYes\nNo",
"permlevel": 0,
"in_filter": 1
},
{
@@ -169,11 +169,11 @@
{
"doctype": "DocField",
"label": "Company",
"options": "link:Company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"options": "link:Company",
"in_filter": 1
},
{
@@ -204,11 +204,11 @@
"doctype": "DocField",
"label": "Earning1",
"oldfieldname": "earning_details",
"options": "Salary Structure Earning",
"permlevel": 0,
"fieldname": "earning_details",
"fieldtype": "Table",
"hidden": 0,
"permlevel": 0
"options": "Salary Structure Earning"
},
{
"oldfieldtype": "Column Break",
@@ -228,18 +228,18 @@
"doctype": "DocField",
"label": "Deduction1",
"oldfieldname": "deduction_details",
"options": "Salary Structure Deduction",
"permlevel": 0,
"fieldname": "deduction_details",
"fieldtype": "Table",
"hidden": 0,
"permlevel": 0
"options": "Salary Structure Deduction"
},
{
"doctype": "DocField",
"options": "Simple",
"permlevel": 0,
"fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0
"options": "Simple"
},
{
"doctype": "DocField",
@@ -281,16 +281,17 @@
"permlevel": 1
},
{
"doctype": "DocPerm",
"write": 0,
"role": "All",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "HR User",
"report": 1,
"permlevel": 0
},
{
@@ -298,16 +299,17 @@
"doctype": "DocPerm",
"write": 1,
"role": "HR Manager",
"report": 1,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "HR Manager",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
},
{
"doctype": "DocPerm",
"role": "HR User",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
}
]