Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2012-12-03 05:16:23 +01:00
commit e2aeaf9892

View File

@ -1,160 +1,129 @@
# DocType, Timesheet Detail
[ [
# These values are common in all dictionaries
{ {
'creation': '2012-03-27 14:36:07', "owner": "Administrator",
'docstatus': 0, "docstatus": 0,
'modified': '2012-03-27 14:36:07', "creation": "2012-11-30 18:13:54",
'modified_by': u'Administrator', "modified_by": "Administrator",
'owner': u'Administrator' "modified": "2012-12-03 09:33:28"
}, },
# These values are common for all DocType
{ {
'autoname': u'TSD.#####', "autoname": "TSD.#####",
'colour': u'White:FFF', "name": "__common__",
'doctype': 'DocType', "doctype": "DocType",
'module': u'Projects', "module": "Projects"
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'version': 15
}, },
# These values are common for all DocField
{ {
'doctype': u'DocField', "name": "__common__",
'name': '__common__', "parent": "Timesheet Detail",
'parent': u'Timesheet Detail', "doctype": "DocField",
'parentfield': u'fields', "parenttype": "DocType",
'parenttype': u'DocType' "parentfield": "fields"
}, },
# DocType, Timesheet Detail
{ {
'doctype': 'DocType', "name": "Timesheet Detail",
'name': u'Timesheet Detail' "doctype": "DocType"
}, },
# DocField
{ {
'doctype': u'DocField', "oldfieldtype": "Time",
'fieldname': u'act_start_time', "doctype": "DocField",
'fieldtype': u'Time', "label": "Actual Start Time",
'label': u'Actual Start Time', "oldfieldname": "act_start_time",
'oldfieldname': u'act_start_time', "width": "160px",
'oldfieldtype': u'Time', "fieldname": "act_start_time",
'permlevel': 0, "fieldtype": "Time",
'reqd': 1, "reqd": 1,
'width': u'160px' "permlevel": 0
}, },
# DocField
{ {
'doctype': u'DocField', "oldfieldtype": "Time",
'fieldname': u'act_end_time', "doctype": "DocField",
'fieldtype': u'Time', "label": "Actual End Time",
'label': u'Actual End Time', "oldfieldname": "act_end_time",
'oldfieldname': u'act_end_time', "width": "160px",
'oldfieldtype': u'Time', "fieldname": "act_end_time",
'permlevel': 0, "fieldtype": "Time",
'reqd': 1, "reqd": 1,
'width': u'160px' "permlevel": 0
}, },
# DocField
{ {
'doctype': u'DocField', "search_index": 0,
'fieldname': u'activity_type', "doctype": "DocField",
'fieldtype': u'Link', "label": "Activity Type",
'label': u'Activity Type', "width": "200px",
'options': u'Activity Type', "options": "Activity Type",
'permlevel': 0, "fieldname": "activity_type",
'reqd': 1, "fieldtype": "Link",
'search_index': 0, "reqd": 1,
'width': u'200px' "permlevel": 0
}, },
# DocField
{ {
'doctype': u'DocField', "oldfieldtype": "Text",
'fieldname': u'other_details', "doctype": "DocField",
'fieldtype': u'Text', "label": "Additional Info",
'label': u'Additional Info', "oldfieldname": "other_details",
'oldfieldname': u'other_details', "width": "200px",
'oldfieldtype': u'Text', "fieldname": "other_details",
'permlevel': 0, "fieldtype": "Text",
'width': u'200px' "permlevel": 0
}, },
# DocField
{ {
'doctype': u'DocField', "oldfieldtype": "Data",
'fieldname': u'act_total_hrs', "doctype": "DocField",
'fieldtype': u'Data', "label": "Total Hours (Actual)",
'label': u'Total Hours (Actual)', "oldfieldname": "act_total_hrs",
'oldfieldname': u'act_total_hrs', "width": "100px",
'oldfieldtype': u'Data', "fieldname": "act_total_hrs",
'permlevel': 1, "fieldtype": "Data",
'width': u'100px' "permlevel": 1
}, },
# DocField
{ {
'doctype': u'DocField', "oldfieldtype": "Data",
'fieldname': u'customer_name', "doctype": "DocField",
'fieldtype': u'Link', "label": "Customer Name",
'label': u'Customer Name', "oldfieldname": "customer_name",
'oldfieldname': u'customer_name', "width": "150px",
'oldfieldtype': u'Data', "options": "Customer",
'options': u'Customer', "fieldname": "customer_name",
'permlevel': 0, "fieldtype": "Link",
'width': u'150px' "permlevel": 0
}, },
# DocField
{ {
'doctype': u'DocField', "permlevel": 0,
'fieldname': u'project_name', "oldfieldtype": "Link",
'fieldtype': u'Link', "doctype": "DocField",
'in_filter': 1, "label": "Project",
'label': u'Project', "oldfieldname": "project_name",
'oldfieldname': u'project_name', "width": "150px",
'oldfieldtype': u'Link', "fieldname": "project_name",
'options': u'Project', "fieldtype": "Link",
'permlevel': 0, "search_index": 1,
'reqd': 0, "reqd": 0,
'search_index': 1, "options": "Project",
'width': u'150px' "in_filter": 1
}, },
# DocField
{ {
'doctype': u'DocField', "oldfieldtype": "Link",
'fieldname': u'task_id', "doctype": "DocField",
'fieldtype': u'Link', "label": "Task Id",
'in_filter': 1, "oldfieldname": "task_id",
'label': u'Task Id', "width": "150px",
'oldfieldname': u'task_id', "options": "Task",
'oldfieldtype': u'Link', "fieldname": "task_id",
'options': u'Task', "fieldtype": "Link",
'permlevel': 0, "search_index": 1,
'search_index': 1, "permlevel": 0,
'width': u'150px' "in_filter": 1
}, },
# DocField
{ {
'doctype': u'DocField', "oldfieldtype": "Link",
'fieldname': u'task_name', "doctype": "DocField",
'fieldtype': u'Link', "label": "Task Name",
'label': u'Task Name', "oldfieldname": "task_name",
'oldfieldname': u'task_name', "width": "250px",
'oldfieldtype': u'Link', "fieldname": "task_name",
'permlevel': 0, "fieldtype": "Data",
'reqd': 0, "search_index": 0,
'search_index': 0, "reqd": 0,
'width': u'250px' "permlevel": 0
} }
] ]