converted currency to float and removed level 1 permissions

This commit is contained in:
Rushabh Mehta
2013-01-22 15:10:25 +05:30
parent fad6746ca1
commit cd4a854a28
151 changed files with 15283 additions and 19754 deletions

View File

@@ -1,432 +1,387 @@
[
{
"owner": "Administrator",
"creation": "2013-01-10 16:34:17",
"docstatus": 0,
"creation": "2012-11-28 11:26:18",
"modified": "2013-01-22 14:56:41",
"modified_by": "Administrator",
"modified": "2012-12-03 17:10:41"
"owner": "Administrator"
},
{
"document_type": "Master",
"allow_attach": 1,
"autoname": "field:project_name",
"module": "Projects",
"doctype": "DocType",
"document_type": "Master",
"max_attachments": 4,
"search_fields": "customer, status, priority, is_active",
"name": "__common__"
"module": "Projects",
"name": "__common__",
"search_fields": "customer, status, priority, is_active"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Project",
"doctype": "DocField",
"parentfield": "fields",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Project",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Project",
"doctype": "DocType"
},
{
"doctype": "DocField",
"label": "Status",
"fieldname": "cb_project_status",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"description": "Project will get saved and will be searchable with project name given",
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Project Name",
"oldfieldname": "project_name",
"fieldname": "project_name",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
},
{
"permlevel": 0,
"no_copy": 1,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"default": "Open",
"fieldname": "status",
"fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"options": "Open\nCompleted\nCancelled",
"in_filter": 1
},
{
"no_copy": 0,
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Is Active",
"oldfieldname": "is_active",
"permlevel": 0,
"fieldname": "is_active",
"fieldtype": "Select",
"search_index": 0,
"options": "Yes\nNo"
},
{
"no_copy": 0,
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Priority",
"oldfieldname": "priority",
"permlevel": 0,
"fieldname": "priority",
"fieldtype": "Select",
"search_index": 0,
"options": "Medium\nLow\nHigh"
},
{
"doctype": "DocField",
"label": "Dates",
"fieldname": "cb_project_dates",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"no_copy": 0,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Project Start Date",
"oldfieldname": "project_start_date",
"fieldname": "project_start_date",
"fieldtype": "Date",
"search_index": 0,
"permlevel": 0,
"in_filter": 1
},
{
"no_copy": 0,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Completion Date",
"oldfieldname": "completion_date",
"fieldname": "completion_date",
"fieldtype": "Date",
"search_index": 0,
"permlevel": 0
},
{
"no_copy": 0,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Actual Completion Date",
"oldfieldname": "act_completion_date",
"fieldname": "act_completion_date",
"fieldtype": "Date",
"search_index": 0,
"permlevel": 0
},
{
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Project Type",
"oldfieldname": "project_type",
"permlevel": 0,
"fieldname": "project_type",
"fieldtype": "Select",
"search_index": 0,
"options": "Internal\nExternal\nOther"
},
{
"description": "Important dates and commitments in your project life cycle",
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Milestones",
"fieldname": "sb_milestones",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"description": "Milestones will be added as Events in the Calendar",
"no_copy": 0,
"oldfieldtype": "Table",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Project Milestones",
"oldfieldname": "project_milestones",
"options": "Project Milestone",
"fieldname": "project_milestones",
"fieldtype": "Table",
"search_index": 0,
"permlevel": 0
},
{
"description": "Tasks belonging to this Project.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Tasks",
"fieldname": "sb_tasks",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Project Tasks",
"fieldname": "project_tasks",
"fieldtype": "HTML",
"permlevel": 0
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Project Details",
"permlevel": 0,
"fieldname": "section_break0",
"fieldtype": "Section Break",
"options": "Simple"
},
{
"no_copy": 0,
"oldfieldtype": "Text Editor",
"doctype": "DocField",
"label": "Notes",
"oldfieldname": "notes",
"fieldname": "notes",
"fieldtype": "Text Editor",
"search_index": 0,
"permlevel": 0
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Project Costing",
"permlevel": 0,
"fieldname": "project_details",
"fieldtype": "Section Break",
"options": "Simple"
},
{
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Project Value",
"oldfieldname": "project_value",
"trigger": "Client",
"fieldname": "project_value",
"fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
},
{
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Estimated Material Cost",
"oldfieldname": "est_material_cost",
"trigger": "Client",
"fieldname": "est_material_cost",
"fieldtype": "Currency",
"search_index": 0,
"permlevel": 0
},
{
"oldfieldtype": "Column Break",
"doctype": "DocField",
"label": "Margin",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Gross Margin Value",
"oldfieldname": "gross_margin_value",
"fieldname": "gross_margin_value",
"fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
},
{
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Gross Margin %",
"oldfieldname": "per_gross_margin",
"fieldname": "per_gross_margin",
"fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Customer Details",
"fieldname": "customer_details",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"print_hide": 1,
"description": "Select name of Customer to whom project belongs",
"no_copy": 0,
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Customer",
"oldfieldname": "customer",
"permlevel": 0,
"trigger": "Client",
"fieldname": "customer",
"fieldtype": "Link",
"search_index": 1,
"reqd": 0,
"options": "Customer",
"in_filter": 1
},
{
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Customer Name",
"oldfieldname": "customer_name",
"fieldname": "customer_name",
"fieldtype": "Data",
"search_index": 1,
"permlevel": 1,
"in_filter": 1
},
{
"no_copy": 0,
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Customer Address",
"oldfieldname": "customer_address",
"fieldname": "customer_address",
"fieldtype": "Small Text",
"search_index": 0,
"permlevel": 1
},
{
"no_copy": 0,
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Contact Person",
"oldfieldname": "contact_person",
"permlevel": 0,
"trigger": "Client",
"fieldname": "contact_person",
"fieldtype": "Link",
"search_index": 0,
"reqd": 0,
"options": "Contact",
"in_filter": 1
},
{
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Territory",
"oldfieldname": "territory",
"permlevel": 0,
"trigger": "Client",
"fieldname": "territory",
"fieldtype": "Link",
"search_index": 0,
"reqd": 0,
"options": "Territory",
"in_filter": 1
},
{
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Contact No",
"oldfieldname": "contact_no",
"fieldname": "contact_no",
"fieldtype": "Data",
"search_index": 0,
"permlevel": 1
},
{
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Email Id",
"oldfieldname": "email_id",
"fieldname": "email_id",
"fieldtype": "Data",
"search_index": 0,
"permlevel": 1
},
{
"no_copy": 0,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Customer Group",
"oldfieldname": "customer_group",
"permlevel": 1,
"fieldname": "customer_group",
"fieldtype": "Link",
"search_index": 0,
"options": "Customer Group"
},
{
"print_hide": 1,
"no_copy": 0,
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"search_index": 0,
"hidden": 1,
"permlevel": 0
},
{
"print_hide": 1,
"no_copy": 1,
"search_index": 0,
"colour": "White:FFF",
"doctype": "DocField",
"label": "File List",
"fieldname": "file_list",
"fieldtype": "Small Text",
"hidden": 1,
"permlevel": 0
},
{
"amend": 0,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"name": "__common__",
"parent": "Project",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"report": 1,
"role": "Projects User",
"cancel": 1,
"permlevel": 0
"submit": 0,
"write": 1
},
{
"doctype": "DocType",
"name": "Project"
},
{
"doctype": "DocField",
"fieldname": "cb_project_status",
"fieldtype": "Column Break",
"label": "Status"
},
{
"description": "Project will get saved and will be searchable with project name given",
"doctype": "DocField",
"fieldname": "project_name",
"fieldtype": "Data",
"label": "Project Name",
"no_copy": 0,
"oldfieldname": "project_name",
"oldfieldtype": "Data",
"reqd": 1
},
{
"default": "Open",
"doctype": "DocField",
"fieldname": "status",
"fieldtype": "Select",
"in_filter": 1,
"label": "Status",
"no_copy": 1,
"oldfieldname": "status",
"oldfieldtype": "Select",
"options": "Open\nCompleted\nCancelled",
"reqd": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "is_active",
"fieldtype": "Select",
"label": "Is Active",
"no_copy": 0,
"oldfieldname": "is_active",
"oldfieldtype": "Select",
"options": "Yes\nNo",
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "priority",
"fieldtype": "Select",
"label": "Priority",
"no_copy": 0,
"oldfieldname": "priority",
"oldfieldtype": "Select",
"options": "Medium\nLow\nHigh",
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "cb_project_dates",
"fieldtype": "Column Break",
"label": "Dates"
},
{
"doctype": "DocField",
"fieldname": "project_start_date",
"fieldtype": "Date",
"in_filter": 1,
"label": "Project Start Date",
"no_copy": 0,
"oldfieldname": "project_start_date",
"oldfieldtype": "Date",
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "completion_date",
"fieldtype": "Date",
"label": "Completion Date",
"no_copy": 0,
"oldfieldname": "completion_date",
"oldfieldtype": "Date",
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "act_completion_date",
"fieldtype": "Date",
"label": "Actual Completion Date",
"no_copy": 0,
"oldfieldname": "act_completion_date",
"oldfieldtype": "Date",
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "project_type",
"fieldtype": "Select",
"label": "Project Type",
"no_copy": 0,
"oldfieldname": "project_type",
"oldfieldtype": "Data",
"options": "Internal\nExternal\nOther",
"search_index": 0
},
{
"description": "Important dates and commitments in your project life cycle",
"doctype": "DocField",
"fieldname": "sb_milestones",
"fieldtype": "Section Break",
"label": "Milestones",
"oldfieldtype": "Section Break"
},
{
"description": "Milestones will be added as Events in the Calendar",
"doctype": "DocField",
"fieldname": "project_milestones",
"fieldtype": "Table",
"label": "Project Milestones",
"no_copy": 0,
"oldfieldname": "project_milestones",
"oldfieldtype": "Table",
"options": "Project Milestone",
"search_index": 0
},
{
"description": "Tasks belonging to this Project.",
"doctype": "DocField",
"fieldname": "sb_tasks",
"fieldtype": "Section Break",
"label": "Tasks"
},
{
"doctype": "DocField",
"fieldname": "project_tasks",
"fieldtype": "HTML",
"label": "Project Tasks"
},
{
"doctype": "DocField",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"label": "Project Details",
"oldfieldtype": "Section Break",
"options": "Simple"
},
{
"doctype": "DocField",
"fieldname": "notes",
"fieldtype": "Text Editor",
"label": "Notes",
"no_copy": 0,
"oldfieldname": "notes",
"oldfieldtype": "Text Editor",
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "project_details",
"fieldtype": "Section Break",
"label": "Project Costing",
"oldfieldtype": "Section Break",
"options": "Simple"
},
{
"doctype": "DocField",
"fieldname": "project_value",
"fieldtype": "Currency",
"label": "Project Value",
"no_copy": 0,
"oldfieldname": "project_value",
"oldfieldtype": "Currency",
"reqd": 0,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "est_material_cost",
"fieldtype": "Currency",
"label": "Estimated Material Cost",
"no_copy": 0,
"oldfieldname": "est_material_cost",
"oldfieldtype": "Currency",
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"label": "Margin",
"oldfieldtype": "Column Break",
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "gross_margin_value",
"fieldtype": "Currency",
"label": "Gross Margin Value",
"no_copy": 0,
"oldfieldname": "gross_margin_value",
"oldfieldtype": "Currency",
"reqd": 0,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "per_gross_margin",
"fieldtype": "Currency",
"label": "Gross Margin %",
"no_copy": 0,
"oldfieldname": "per_gross_margin",
"oldfieldtype": "Currency",
"reqd": 0,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "customer_details",
"fieldtype": "Section Break",
"label": "Customer Details",
"oldfieldtype": "Section Break"
},
{
"description": "Select name of Customer to whom project belongs",
"doctype": "DocField",
"fieldname": "customer",
"fieldtype": "Link",
"in_filter": 1,
"label": "Customer",
"no_copy": 0,
"oldfieldname": "customer",
"oldfieldtype": "Link",
"options": "Customer",
"print_hide": 1,
"reqd": 0,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "customer_name",
"fieldtype": "Data",
"in_filter": 1,
"label": "Customer Name",
"no_copy": 0,
"oldfieldname": "customer_name",
"oldfieldtype": "Data",
"read_only": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "customer_address",
"fieldtype": "Small Text",
"label": "Customer Address",
"no_copy": 0,
"oldfieldname": "customer_address",
"oldfieldtype": "Small Text",
"read_only": 1,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "contact_person",
"fieldtype": "Link",
"in_filter": 1,
"label": "Contact Person",
"no_copy": 0,
"oldfieldname": "contact_person",
"oldfieldtype": "Link",
"options": "Contact",
"reqd": 0,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "territory",
"fieldtype": "Link",
"in_filter": 1,
"label": "Territory",
"oldfieldname": "territory",
"oldfieldtype": "Link",
"options": "Territory",
"reqd": 0,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "contact_no",
"fieldtype": "Data",
"label": "Contact No",
"no_copy": 0,
"oldfieldname": "contact_no",
"oldfieldtype": "Data",
"read_only": 1,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "email_id",
"fieldtype": "Data",
"label": "Email Id",
"no_copy": 0,
"oldfieldname": "email_id",
"oldfieldtype": "Data",
"read_only": 1,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "customer_group",
"fieldtype": "Link",
"label": "Customer Group",
"no_copy": 0,
"oldfieldname": "customer_group",
"oldfieldtype": "Link",
"options": "Customer Group",
"read_only": 1,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"hidden": 1,
"label": "Trash Reason",
"no_copy": 0,
"oldfieldname": "trash_reason",
"oldfieldtype": "Small Text",
"print_hide": 1,
"search_index": 0
},
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Small Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1,
"search_index": 0
},
{
"role": "All",
"permlevel": 1,
"doctype": "DocPerm"
}
]

View File

@@ -1,253 +1,246 @@
[
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2013-01-10 16:34:17",
"docstatus": 0,
"modified": "2013-01-22 14:57:26",
"modified_by": "Administrator",
"modified": "2013-01-14 14:03:52"
"owner": "Administrator"
},
{
"autoname": "TASK.#####",
"allow_attach": 1,
"autoname": "TASK.#####",
"doctype": "DocType",
"module": "Projects",
"max_attachments": 5,
"document_type": "Master",
"max_attachments": 5,
"module": "Projects",
"name": "__common__"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Task",
"doctype": "DocField",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Task",
"read": 1,
"doctype": "DocPerm",
"submit": 0,
"report": 1,
"parenttype": "DocType",
"role": "Projects User",
"parentfield": "permissions"
},
{
"name": "Task",
"doctype": "DocType"
},
{
"print_width": "50%",
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Task Details",
"width": "50%",
"fieldname": "task_details",
"fieldtype": "Section Break",
"search_index": 0
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Subject",
"oldfieldname": "subject",
"fieldname": "subject",
"fieldtype": "Data",
"reqd": 1,
"in_filter": 1
},
{
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Expected Start Date",
"oldfieldname": "exp_start_date",
"fieldname": "exp_start_date",
"fieldtype": "Date",
"reqd": 0
},
{
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Expected End Date",
"oldfieldname": "exp_end_date",
"fieldname": "exp_end_date",
"fieldtype": "Date",
"search_index": 1,
"reqd": 0,
"in_filter": 1
},
{
"print_width": "50%",
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break"
},
{
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Project",
"oldfieldname": "project",
"fieldname": "project",
"fieldtype": "Link",
"options": "Project"
},
{
"no_copy": 1,
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"fieldname": "status",
"fieldtype": "Select",
"options": "Open\nWorking\nPending Review\nClosed\nCancelled"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Priority",
"oldfieldname": "priority",
"fieldname": "priority",
"fieldtype": "Select",
"search_index": 1,
"reqd": 0,
"options": "Low\nMedium\nHigh\nUrgent",
"in_filter": 1
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"options": "Simple"
},
{
"print_width": "300px",
"oldfieldtype": "Text Editor",
"doctype": "DocField",
"label": "Details",
"oldfieldname": "description",
"width": "300px",
"fieldname": "description",
"fieldtype": "Text Editor",
"reqd": 0
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Time and Budget",
"fieldname": "time_and_budget",
"fieldtype": "Section Break"
},
{
"print_width": "50%",
"oldfieldtype": "Column Break",
"doctype": "DocField",
"label": "Expected",
"width": "50%",
"fieldname": "expected",
"fieldtype": "Column Break"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Total Hours (Expected)",
"oldfieldname": "exp_total_hrs",
"fieldname": "exp_total_hrs",
"fieldtype": "Data",
"reqd": 0
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Allocated Budget",
"oldfieldname": "allocated_budget",
"fieldname": "allocated_budget",
"fieldtype": "Currency"
},
{
"print_width": "50%",
"oldfieldtype": "Column Break",
"doctype": "DocField",
"label": "Actual",
"width": "50%",
"fieldname": "actual",
"fieldtype": "Column Break"
},
{
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Actual Start Date",
"oldfieldname": "act_start_date",
"fieldname": "act_start_date",
"fieldtype": "Date"
},
{
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Actual End Date",
"oldfieldname": "act_end_date",
"fieldname": "act_end_date",
"fieldtype": "Date"
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Actual Budget",
"oldfieldname": "actual_budget",
"fieldname": "actual_budget",
"fieldtype": "Currency"
},
{
"doctype": "DocField",
"label": "More Details",
"fieldname": "more_details",
"fieldtype": "Section Break"
},
{
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Review Date",
"oldfieldname": "review_date",
"fieldname": "review_date",
"fieldtype": "Date",
"depends_on": "eval:doc.status == \"Closed\" || doc.status == \"Pending Review\"",
"hidden": 0
},
{
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Closing Date",
"oldfieldname": "closing_date",
"fieldname": "closing_date",
"fieldtype": "Date",
"depends_on": "eval:doc.status == \"Closed\"",
"hidden": 0
},
{
"print_hide": 1,
"no_copy": 1,
"doctype": "DocField",
"label": "File List",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"cancel": 1,
"permlevel": 0
},
{
"amend": 0,
"create": 0,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"cancel": 0,
"permlevel": 1
"name": "__common__",
"parent": "Task",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"report": 1,
"role": "Projects User",
"submit": 0,
"write": 1
},
{
"doctype": "DocType",
"name": "Task"
},
{
"doctype": "DocField",
"fieldname": "task_details",
"fieldtype": "Section Break",
"label": "Task Details",
"oldfieldtype": "Section Break",
"print_width": "50%",
"search_index": 0,
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "subject",
"fieldtype": "Data",
"in_filter": 1,
"label": "Subject",
"oldfieldname": "subject",
"oldfieldtype": "Data",
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "exp_start_date",
"fieldtype": "Date",
"label": "Expected Start Date",
"oldfieldname": "exp_start_date",
"oldfieldtype": "Date",
"reqd": 0
},
{
"doctype": "DocField",
"fieldname": "exp_end_date",
"fieldtype": "Date",
"in_filter": 1,
"label": "Expected End Date",
"oldfieldname": "exp_end_date",
"oldfieldtype": "Date",
"reqd": 0,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"oldfieldtype": "Column Break",
"print_width": "50%",
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
"oldfieldname": "project",
"oldfieldtype": "Link",
"options": "Project"
},
{
"doctype": "DocField",
"fieldname": "status",
"fieldtype": "Select",
"label": "Status",
"no_copy": 1,
"oldfieldname": "status",
"oldfieldtype": "Select",
"options": "Open\nWorking\nPending Review\nClosed\nCancelled"
},
{
"doctype": "DocField",
"fieldname": "priority",
"fieldtype": "Select",
"in_filter": 1,
"label": "Priority",
"oldfieldname": "priority",
"oldfieldtype": "Select",
"options": "Low\nMedium\nHigh\nUrgent",
"reqd": 0,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"oldfieldtype": "Section Break",
"options": "Simple"
},
{
"doctype": "DocField",
"fieldname": "description",
"fieldtype": "Text Editor",
"label": "Details",
"oldfieldname": "description",
"oldfieldtype": "Text Editor",
"print_width": "300px",
"reqd": 0,
"width": "300px"
},
{
"doctype": "DocField",
"fieldname": "time_and_budget",
"fieldtype": "Section Break",
"label": "Time and Budget",
"oldfieldtype": "Section Break"
},
{
"doctype": "DocField",
"fieldname": "expected",
"fieldtype": "Column Break",
"label": "Expected",
"oldfieldtype": "Column Break",
"print_width": "50%",
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "exp_total_hrs",
"fieldtype": "Data",
"label": "Total Hours (Expected)",
"oldfieldname": "exp_total_hrs",
"oldfieldtype": "Data",
"reqd": 0
},
{
"doctype": "DocField",
"fieldname": "allocated_budget",
"fieldtype": "Currency",
"label": "Allocated Budget",
"oldfieldname": "allocated_budget",
"oldfieldtype": "Currency"
},
{
"doctype": "DocField",
"fieldname": "actual",
"fieldtype": "Column Break",
"label": "Actual",
"oldfieldtype": "Column Break",
"print_width": "50%",
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "act_start_date",
"fieldtype": "Date",
"label": "Actual Start Date",
"oldfieldname": "act_start_date",
"oldfieldtype": "Date"
},
{
"doctype": "DocField",
"fieldname": "act_end_date",
"fieldtype": "Date",
"label": "Actual End Date",
"oldfieldname": "act_end_date",
"oldfieldtype": "Date"
},
{
"doctype": "DocField",
"fieldname": "actual_budget",
"fieldtype": "Currency",
"label": "Actual Budget",
"oldfieldname": "actual_budget",
"oldfieldtype": "Currency"
},
{
"doctype": "DocField",
"fieldname": "more_details",
"fieldtype": "Section Break",
"label": "More Details"
},
{
"depends_on": "eval:doc.status == \"Closed\" || doc.status == \"Pending Review\"",
"doctype": "DocField",
"fieldname": "review_date",
"fieldtype": "Date",
"hidden": 0,
"label": "Review Date",
"oldfieldname": "review_date",
"oldfieldtype": "Date"
},
{
"depends_on": "eval:doc.status == \"Closed\"",
"doctype": "DocField",
"fieldname": "closing_date",
"fieldtype": "Date",
"hidden": 0,
"label": "Closing Date",
"oldfieldname": "closing_date",
"oldfieldtype": "Date"
},
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{
"doctype": "DocPerm"
}
]

View File

@@ -1,175 +1,144 @@
[
{
"owner": "ashwini@webnotestech.com",
"creation": "2013-01-10 16:34:17",
"docstatus": 0,
"creation": "2012-03-27 14:36:07",
"modified": "2013-01-22 14:57:26",
"modified_by": "Administrator",
"modified": "2012-03-27 18:47:10"
"owner": "ashwini@webnotestech.com"
},
{
"section_style": "Simple",
"is_submittable": 1,
"search_fields": "status, owner, timesheet_date",
"module": "Projects",
"autoname": "TimeSheet.#####",
"show_in_menu": 0,
"subject": "%(owner)s",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"server_code_error": " ",
"version": 69
"is_submittable": 1,
"module": "Projects",
"name": "__common__",
"search_fields": "status, owner, timesheet_date"
},
{
"name": "__common__",
"parent": "Timesheet",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Timesheet",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Timesheet",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Timesheet",
"doctype": "DocType"
},
{
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "Projects User",
"cancel": 1,
"permlevel": 0
},
{
"role": "Projects User",
"permlevel": 1,
"doctype": "DocPerm"
},
{
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "System Manager",
"cancel": 1,
"permlevel": 0
"write": 1
},
{
"role": "System Manager",
"permlevel": 1,
"doctype": "DocPerm"
"doctype": "DocType",
"name": "Timesheet"
},
{
"doctype": "DocField",
"label": "Timesheet Details",
"fieldname": "timesheet_details_section_break",
"fieldtype": "Section Break",
"permlevel": 0
"label": "Timesheet Details"
},
{
"default": "Draft",
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"permlevel": 1,
"fieldname": "status",
"fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"in_filter": 0,
"label": "Status",
"oldfieldname": "status",
"oldfieldtype": "Select",
"options": "\nDraft\nSubmitted\nCancelled",
"in_filter": 0
"read_only": 1,
"reqd": 1,
"search_index": 1
},
{
"default": "Today",
"oldfieldtype": "Date",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Timesheet Date",
"oldfieldname": "timesheet_date",
"fieldname": "timesheet_date",
"fieldtype": "Date",
"search_index": 1,
"in_filter": 1,
"label": "Timesheet Date",
"oldfieldname": "timesheet_date",
"oldfieldtype": "Date",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
"search_index": 1
},
{
"search_index": 0,
"doctype": "DocField",
"label": "Timesheet By",
"oldfieldname": "owner",
"permlevel": 0,
"fieldname": "owner",
"fieldtype": "Link",
"in_filter": 1,
"label": "Timesheet By",
"oldfieldname": "owner",
"oldfieldtype": "Link",
"reqd": 1,
"options": "Profile",
"in_filter": 1
"reqd": 1,
"search_index": 0
},
{
"print_hide": 1,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Amended From",
"oldfieldname": "amended_from",
"fieldname": "amended_from",
"fieldtype": "Data",
"hidden": 1,
"permlevel": 1
"label": "Amended From",
"oldfieldname": "amended_from",
"oldfieldtype": "Data",
"print_hide": 1,
"read_only": 1
},
{
"print_hide": 1,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Amendment Date",
"oldfieldname": "amendment_date",
"fieldname": "amendment_date",
"fieldtype": "Date",
"hidden": 1,
"permlevel": 1
"label": "Amendment Date",
"oldfieldname": "amendment_date",
"oldfieldtype": "Date",
"print_hide": 1,
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
"fieldtype": "Column Break"
},
{
"doctype": "DocField",
"label": "Notes",
"fieldname": "notes",
"fieldtype": "Text",
"permlevel": 0
"label": "Notes"
},
{
"doctype": "DocField",
"options": "Simple",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0
"options": "Simple"
},
{
"oldfieldtype": "Table",
"doctype": "DocField",
"label": "Timesheet Details",
"oldfieldname": "timesheet_details",
"options": "Timesheet Detail",
"fieldname": "timesheet_details",
"fieldtype": "Table",
"permlevel": 0
"label": "Timesheet Details",
"oldfieldname": "timesheet_details",
"oldfieldtype": "Table",
"options": "Timesheet Detail"
},
{
"doctype": "DocPerm",
"role": "Projects User"
},
{
"doctype": "DocPerm",
"role": "System Manager"
}
]

View File

@@ -1,139 +1,132 @@
[
{
"owner": "Administrator",
"creation": "2013-01-10 16:34:18",
"docstatus": 0,
"creation": "2012-12-03 10:31:04",
"modified": "2013-01-22 14:50:09",
"modified_by": "Administrator",
"modified": "2013-01-02 12:46:48"
"owner": "Administrator"
},
{
"istable": 1,
"autoname": "TSD.#####",
"name": "__common__",
"doctype": "DocType",
"module": "Projects"
"istable": 1,
"module": "Projects",
"name": "__common__"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Timesheet Detail",
"doctype": "DocField",
"parentfield": "fields",
"parenttype": "DocType",
"parentfield": "fields"
"permlevel": 0
},
{
"name": "Timesheet Detail",
"doctype": "DocType"
"doctype": "DocType",
"name": "Timesheet Detail"
},
{
"print_width": "160px",
"oldfieldtype": "Time",
"doctype": "DocField",
"label": "Actual Start Time",
"oldfieldname": "act_start_time",
"width": "160px",
"fieldname": "act_start_time",
"fieldtype": "Time",
"label": "Actual Start Time",
"oldfieldname": "act_start_time",
"oldfieldtype": "Time",
"print_width": "160px",
"reqd": 1,
"permlevel": 0
"width": "160px"
},
{
"print_width": "160px",
"oldfieldtype": "Time",
"doctype": "DocField",
"label": "Actual End Time",
"oldfieldname": "act_end_time",
"width": "160px",
"fieldname": "act_end_time",
"fieldtype": "Time",
"label": "Actual End Time",
"oldfieldname": "act_end_time",
"oldfieldtype": "Time",
"print_width": "160px",
"reqd": 1,
"permlevel": 0
"width": "160px"
},
{
"print_width": "200px",
"permlevel": 0,
"search_index": 0,
"doctype": "DocField",
"label": "Activity Type",
"width": "200px",
"fieldname": "activity_type",
"fieldtype": "Link",
"label": "Activity Type",
"options": "Activity Type",
"print_width": "200px",
"reqd": 1,
"options": "Activity Type"
"search_index": 0,
"width": "200px"
},
{
"print_width": "200px",
"oldfieldtype": "Text",
"doctype": "DocField",
"label": "Additional Info",
"oldfieldname": "other_details",
"width": "200px",
"fieldname": "other_details",
"fieldtype": "Text",
"permlevel": 0
"label": "Additional Info",
"oldfieldname": "other_details",
"oldfieldtype": "Text",
"print_width": "200px",
"width": "200px"
},
{
"print_width": "100px",
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Total Hours (Actual)",
"oldfieldname": "act_total_hrs",
"width": "100px",
"fieldname": "act_total_hrs",
"fieldtype": "Data",
"permlevel": 1
"label": "Total Hours (Actual)",
"oldfieldname": "act_total_hrs",
"oldfieldtype": "Data",
"print_width": "100px",
"read_only": 1,
"width": "100px"
},
{
"print_width": "150px",
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Customer Name",
"oldfieldname": "customer_name",
"width": "150px",
"options": "Customer",
"fieldname": "customer_name",
"fieldtype": "Link",
"permlevel": 0
"label": "Customer Name",
"oldfieldname": "customer_name",
"oldfieldtype": "Data",
"options": "Customer",
"print_width": "150px",
"width": "150px"
},
{
"print_width": "150px",
"permlevel": 0,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Project",
"oldfieldname": "project_name",
"width": "150px",
"fieldname": "project_name",
"fieldtype": "Link",
"search_index": 1,
"reqd": 0,
"in_filter": 1,
"label": "Project",
"oldfieldname": "project_name",
"oldfieldtype": "Link",
"options": "Project",
"in_filter": 1
"print_width": "150px",
"reqd": 0,
"search_index": 1,
"width": "150px"
},
{
"print_width": "150px",
"permlevel": 0,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Task Id",
"oldfieldname": "task_id",
"width": "150px",
"fieldname": "task_id",
"fieldtype": "Link",
"search_index": 1,
"in_filter": 1,
"label": "Task Id",
"oldfieldname": "task_id",
"oldfieldtype": "Link",
"options": "Task",
"in_filter": 1
"print_width": "150px",
"search_index": 1,
"width": "150px"
},
{
"print_width": "250px",
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Task Name",
"oldfieldname": "task_name",
"width": "250px",
"fieldname": "task_name",
"fieldtype": "Data",
"search_index": 0,
"label": "Task Name",
"oldfieldname": "task_name",
"oldfieldtype": "Link",
"print_width": "250px",
"reqd": 0,
"permlevel": 0
"search_index": 0,
"width": "250px"
}
]