modules cleanup

This commit is contained in:
Rushabh Mehta
2012-03-12 14:34:55 +05:30
parent aa845e9daa
commit ae4d1f973c
56 changed files with 369 additions and 385 deletions

View File

@@ -5,47 +5,51 @@
{
'creation': '2010-08-08 17:09:14',
'docstatus': 0,
'modified': '2011-01-05 15:24:43',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-03-12 14:25:08',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1305714062',
'_last_update': u'1331542439',
'allow_attach': 1,
'allow_trash': 1,
'autoname': 'field:project_name',
'colour': 'White:FFF',
'autoname': u'field:project_name',
'colour': u'White:FFF',
'default_print_format': u'Standard',
'doctype': 'DocType',
'document_type': 'Master',
'module': 'Projects',
'document_type': u'Master',
'max_attachments': 4,
'module': u'Projects',
'name': '__common__',
'search_fields': 'customer, status, priority, is_active',
'section_style': 'Tabbed',
'server_code_error': ' ',
'subject': ' ',
'tag_fields': 'status',
'version': 32
'search_fields': u'customer, status, priority, is_active',
'section_style': u'Tabbed',
'server_code_error': u' ',
'show_in_menu': 0,
'subject': u' ',
'tag_fields': u'status',
'version': 37
},
# These values are common for all DocField
{
'doctype': 'DocField',
'doctype': u'DocField',
'name': '__common__',
'parent': 'Project',
'parentfield': 'fields',
'parenttype': 'DocType'
'parent': u'Project',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'cancel': 1,
'create': 1,
'doctype': 'DocPerm',
'doctype': u'DocPerm',
'name': '__common__',
'parent': 'Project',
'parentfield': 'permissions',
'parenttype': 'DocType',
'parent': u'Project',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'write': 1
@@ -54,45 +58,58 @@
# DocType, Project
{
'doctype': 'DocType',
'name': 'Project'
'name': u'Project'
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 1,
'role': 'All'
'doctype': u'DocPerm',
'role': u'All'
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 2,
'role': 'Projects User'
'doctype': u'DocPerm',
'role': u'Projects User'
},
# DocField
{
'colour': 'White:FFF',
'description': 'Helps you keep track of your projects and links to Tasks. You can tag a task to a project to track its progress',
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 1,
'label': 'Basic Info',
'oldfieldtype': 'Section Break',
'colour': u'White:FFF',
'description': u'Helps you keep track of your projects and links to Tasks. You can tag a task to a project to track its progress',
'doctype': u'DocField',
'fieldtype': u'Section Break',
'label': u'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'description': 'Project will get saved and will be searchable with project name given',
'doctype': 'DocField',
'fieldname': 'project_name',
'fieldtype': 'Data',
'idx': 2,
'label': 'Project Name',
'oldfieldname': 'project_name',
'oldfieldtype': 'Data',
'description': u'Project will get saved and will be searchable with project name given',
'doctype': u'DocField',
'fieldname': u'project_name',
'fieldtype': u'Data',
'label': u'Project Name',
'oldfieldname': u'project_name',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'colour': u'White:FFF',
'default': u'Open',
'doctype': u'DocField',
'fieldname': u'status',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Status',
'no_copy': 1,
'oldfieldname': u'status',
'oldfieldtype': u'Select',
'options': u'Open\nCompleted\nCancelled',
'permlevel': 0,
'reqd': 1,
'search_index': 1
@@ -100,386 +117,355 @@
# DocField
{
'colour': 'White:FFF',
'default': 'Open',
'doctype': 'DocField',
'fieldname': 'status',
'fieldtype': 'Select',
'idx': 3,
'doctype': u'DocField',
'fieldname': u'is_active',
'fieldtype': u'Select',
'label': u'Is Active',
'oldfieldname': u'is_active',
'oldfieldtype': u'Select',
'options': u'Yes\nNo',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'priority',
'fieldtype': u'Select',
'label': u'Priority',
'oldfieldname': u'priority',
'oldfieldtype': u'Select',
'options': u'Medium\nLow\nHigh',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldtype': u'Column Break',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'project_type',
'fieldtype': u'Data',
'label': u'Project Type',
'oldfieldname': u'project_type',
'oldfieldtype': u'Data',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'project_start_date',
'fieldtype': u'Date',
'in_filter': 1,
'label': 'Status',
'oldfieldname': 'status',
'oldfieldtype': 'Select',
'options': 'Open\nCompleted\nCancelled',
'permlevel': 0,
'reqd': 1,
'search_index': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'is_active',
'fieldtype': 'Select',
'idx': 4,
'label': 'Is Active',
'oldfieldname': 'is_active',
'oldfieldtype': 'Select',
'options': 'Yes\nNo',
'label': u'Project Start Date',
'oldfieldname': u'project_start_date',
'oldfieldtype': u'Date',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'priority',
'fieldtype': 'Select',
'idx': 5,
'label': 'Priority',
'oldfieldname': 'priority',
'oldfieldtype': 'Select',
'options': 'Medium\nLow\nHigh',
'doctype': u'DocField',
'fieldname': u'completion_date',
'fieldtype': u'Date',
'label': u'Completion Date',
'oldfieldname': u'completion_date',
'oldfieldtype': u'Date',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'project_value',
'fieldtype': 'Currency',
'idx': 6,
'label': 'Project Value',
'oldfieldname': 'project_value',
'oldfieldtype': 'Currency',
'permlevel': 0,
'reqd': 1,
'trigger': 'Client'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'gross_margin_value',
'fieldtype': 'Currency',
'idx': 7,
'label': 'Gross Margin Value',
'oldfieldname': 'gross_margin_value',
'oldfieldtype': 'Currency',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'per_gross_margin',
'fieldtype': 'Currency',
'idx': 8,
'label': 'Gross Margin %',
'oldfieldname': 'per_gross_margin',
'oldfieldtype': 'Currency',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'est_material_cost',
'fieldtype': 'Currency',
'idx': 9,
'label': 'Estimated Material Cost',
'oldfieldname': 'est_material_cost',
'oldfieldtype': 'Currency',
'permlevel': 0,
'trigger': 'Client'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'project_type',
'fieldtype': 'Data',
'idx': 10,
'label': 'Project Type',
'oldfieldname': 'project_type',
'oldfieldtype': 'Data',
'doctype': u'DocField',
'fieldname': u'act_completion_date',
'fieldtype': u'Date',
'label': u'Actual Completion Date',
'oldfieldname': u'act_completion_date',
'oldfieldtype': u'Date',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'project_start_date',
'fieldtype': 'Date',
'idx': 11,
'in_filter': 1,
'label': 'Project Start Date',
'oldfieldname': 'project_start_date',
'oldfieldtype': 'Date',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'completion_date',
'fieldtype': 'Date',
'idx': 12,
'label': 'Completion Date',
'oldfieldname': 'completion_date',
'oldfieldtype': 'Date',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'act_completion_date',
'fieldtype': 'Date',
'idx': 13,
'label': 'Actual Completion Date',
'oldfieldname': 'act_completion_date',
'oldfieldtype': 'Date',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'amended_from',
'fieldtype': 'Data',
'doctype': u'DocField',
'fieldname': u'amemdment_date',
'fieldtype': u'Date',
'hidden': 1,
'idx': 14,
'label': 'Amended From',
'label': u'Amemdment Date',
'no_copy': 1,
'oldfieldname': 'amended_from',
'oldfieldtype': 'Data',
'oldfieldname': u'amemdment_date',
'oldfieldtype': u'Date',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'amended_from',
'fieldtype': u'Data',
'hidden': 1,
'label': u'Amended From',
'no_copy': 1,
'oldfieldname': u'amended_from',
'oldfieldtype': u'Data',
'permlevel': 1,
'print_hide': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'amemdment_date',
'fieldtype': 'Date',
'hidden': 1,
'idx': 15,
'label': 'Amemdment Date',
'no_copy': 1,
'oldfieldname': 'amemdment_date',
'oldfieldtype': 'Date',
'permlevel': 1
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 16,
'label': 'Project Details',
'oldfieldtype': 'Section Break',
'options': 'Simple',
'doctype': u'DocField',
'fieldtype': u'Section Break',
'label': u'Details',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'idx': 17,
'oldfieldtype': 'Column Break',
'doctype': u'DocField',
'fieldname': u'notes',
'fieldtype': u'Text Editor',
'label': u'Notes',
'oldfieldname': u'notes',
'oldfieldtype': u'Text Editor',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldtype': u'Section Break',
'label': u'Financials',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'project_value',
'fieldtype': u'Currency',
'label': u'Project Value',
'oldfieldname': u'project_value',
'oldfieldtype': u'Currency',
'permlevel': 0,
'width': '50%'
'reqd': 0,
'trigger': u'Client'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 18,
'oldfieldtype': 'Section Break',
'options': 'Simple',
'doctype': u'DocField',
'fieldname': u'est_material_cost',
'fieldtype': u'Currency',
'label': u'Estimated Material Cost',
'oldfieldname': u'est_material_cost',
'oldfieldtype': u'Currency',
'permlevel': 0,
'trigger': u'Client'
},
# DocField
{
'doctype': u'DocField',
'fieldtype': u'Column Break',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'notes',
'fieldtype': 'Text Editor',
'idx': 19,
'label': 'Notes',
'oldfieldname': 'notes',
'oldfieldtype': 'Text Editor',
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'per_gross_margin',
'fieldtype': u'Currency',
'label': u'Gross Margin %',
'oldfieldname': u'per_gross_margin',
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'gross_margin_value',
'fieldtype': u'Currency',
'label': u'Gross Margin Value',
'oldfieldname': u'gross_margin_value',
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 0
},
# DocField
{
'doctype': u'DocField',
'fieldtype': u'Section Break',
'label': u'Customer Details',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 20,
'label': 'Customer Details',
'oldfieldtype': 'Section Break',
'permlevel': 0
},
# DocField
{
'colour': 'White:FFF',
'description': 'Select name of Customer to whom project belongs',
'doctype': 'DocField',
'fieldname': 'customer',
'fieldtype': 'Link',
'idx': 21,
'colour': u'White:FFF',
'description': u'Select name of Customer to whom project belongs',
'doctype': u'DocField',
'fieldname': u'customer',
'fieldtype': u'Link',
'in_filter': 1,
'label': 'Customer',
'oldfieldname': 'customer',
'oldfieldtype': 'Link',
'options': 'Customer',
'label': u'Customer',
'oldfieldname': u'customer',
'oldfieldtype': u'Link',
'options': u'Customer',
'permlevel': 0,
'print_hide': 1,
'reqd': 0,
'search_index': 1,
'trigger': 'Client'
'trigger': u'Client'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'customer_name',
'fieldtype': 'Data',
'idx': 22,
'doctype': u'DocField',
'fieldname': u'customer_name',
'fieldtype': u'Data',
'in_filter': 1,
'label': 'Customer Name',
'oldfieldname': 'customer_name',
'oldfieldtype': 'Data',
'label': u'Customer Name',
'oldfieldname': u'customer_name',
'oldfieldtype': u'Data',
'permlevel': 1,
'search_index': 0
'search_index': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'customer_address',
'fieldtype': 'Small Text',
'idx': 23,
'label': 'Customer Address',
'oldfieldname': 'customer_address',
'oldfieldtype': 'Small Text',
'doctype': u'DocField',
'fieldname': u'customer_address',
'fieldtype': u'Small Text',
'label': u'Customer Address',
'oldfieldname': u'customer_address',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'colour': 'White:FFF',
'doctype': 'DocField',
'fieldname': 'contact_person',
'fieldtype': 'Link',
'idx': 24,
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'contact_person',
'fieldtype': u'Link',
'in_filter': 1,
'label': 'Contact Person',
'oldfieldname': 'contact_person',
'oldfieldtype': 'Link',
'label': u'Contact Person',
'oldfieldname': u'contact_person',
'oldfieldtype': u'Link',
'permlevel': 0,
'reqd': 0,
'trigger': 'Client'
'trigger': u'Client'
},
# DocField
{
'colour': 'White:FFF',
'doctype': 'DocField',
'fieldname': 'territory',
'fieldtype': 'Link',
'idx': 25,
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'territory',
'fieldtype': u'Link',
'in_filter': 1,
'label': 'Territory',
'oldfieldname': 'territory',
'oldfieldtype': 'Link',
'options': 'Territory',
'label': u'Territory',
'oldfieldname': u'territory',
'oldfieldtype': u'Link',
'options': u'Territory',
'permlevel': 0,
'reqd': 0,
'search_index': 0,
'trigger': 'Client'
'trigger': u'Client'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'contact_no',
'fieldtype': 'Data',
'idx': 26,
'label': 'Contact No',
'oldfieldname': 'contact_no',
'oldfieldtype': 'Data',
'doctype': u'DocField',
'fieldname': u'contact_no',
'fieldtype': u'Data',
'label': u'Contact No',
'oldfieldname': u'contact_no',
'oldfieldtype': u'Data',
'permlevel': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'email_id',
'fieldtype': 'Data',
'idx': 27,
'label': 'Email Id',
'oldfieldname': 'email_id',
'oldfieldtype': 'Data',
'doctype': u'DocField',
'fieldname': u'email_id',
'fieldtype': u'Data',
'label': u'Email Id',
'oldfieldname': u'email_id',
'oldfieldtype': u'Data',
'permlevel': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'customer_group',
'fieldtype': 'Link',
'idx': 28,
'label': 'Customer Group',
'oldfieldname': 'customer_group',
'oldfieldtype': 'Link',
'options': 'Customer Group',
'permlevel': 1,
'search_index': 0
'doctype': u'DocField',
'fieldname': u'customer_group',
'fieldtype': u'Link',
'label': u'Customer Group',
'oldfieldname': u'customer_group',
'oldfieldtype': u'Link',
'options': u'Customer Group',
'permlevel': 1
},
# DocField
{
'colour': 'White:FFF',
'description': 'Important dates and commitments in your project life cycle',
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 29,
'label': 'Milestones',
'oldfieldtype': 'Section Break',
'colour': u'White:FFF',
'description': u'Important dates and commitments in your project life cycle',
'doctype': u'DocField',
'fieldtype': u'Section Break',
'label': u'Milestones',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'project_milestones',
'fieldtype': 'Table',
'idx': 30,
'label': 'Project Milestones',
'oldfieldname': 'project_milestones',
'oldfieldtype': 'Table',
'options': 'Project Milestone',
'doctype': u'DocField',
'fieldname': u'project_milestones',
'fieldtype': u'Table',
'label': u'Project Milestones',
'oldfieldname': u'project_milestones',
'oldfieldtype': u'Table',
'options': u'Project Milestone',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'trash_reason',
'fieldtype': 'Small Text',
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'hidden': 1,
'idx': 31,
'label': 'Trash Reason',
'oldfieldname': 'trash_reason',
'oldfieldtype': 'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 0,
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'file_list',
'fieldtype': u'Small Text',
'label': u'File List',
'no_copy': 1,
'permlevel': 0
}
]