fix: remove max 5 file attachment limit in task (#24056)

Co-authored-by: alain <fogliasana@gmail.com>
This commit is contained in:
Tropicalrambler (Alain Berger)
2021-02-11 08:44:14 -06:00
committed by GitHub
parent afbbdcb802
commit dbb6721412

792
erpnext/projects/doctype/task/task.json Normal file → Executable file
View File

@@ -1,398 +1,398 @@
{ {
"actions": [], "actions": [],
"allow_import": 1, "allow_import": 1,
"autoname": "TASK-.YYYY.-.#####", "autoname": "TASK-.YYYY.-.#####",
"creation": "2013-01-29 19:25:50", "creation": "2013-01-29 19:25:50",
"doctype": "DocType", "doctype": "DocType",
"document_type": "Setup", "document_type": "Setup",
"engine": "InnoDB", "engine": "InnoDB",
"field_order": [ "field_order": [
"subject", "subject",
"project", "project",
"issue", "issue",
"type", "type",
"is_group", "is_group",
"column_break0", "column_break0",
"status", "status",
"priority", "priority",
"task_weight", "task_weight",
"completed_by", "completed_by",
"color", "color",
"parent_task", "parent_task",
"sb_timeline", "sb_timeline",
"exp_start_date", "exp_start_date",
"expected_time", "expected_time",
"column_break_11", "column_break_11",
"exp_end_date", "exp_end_date",
"progress", "progress",
"is_milestone", "is_milestone",
"sb_details", "sb_details",
"description", "description",
"sb_depends_on", "sb_depends_on",
"depends_on", "depends_on",
"depends_on_tasks", "depends_on_tasks",
"sb_actual", "sb_actual",
"act_start_date", "act_start_date",
"actual_time", "actual_time",
"column_break_15", "column_break_15",
"act_end_date", "act_end_date",
"sb_costing", "sb_costing",
"total_costing_amount", "total_costing_amount",
"total_expense_claim", "total_expense_claim",
"column_break_20", "column_break_20",
"total_billing_amount", "total_billing_amount",
"sb_more_info", "sb_more_info",
"review_date", "review_date",
"closing_date", "closing_date",
"column_break_22", "column_break_22",
"department", "department",
"company", "company",
"lft", "lft",
"rgt", "rgt",
"old_parent" "old_parent"
], ],
"fields": [ "fields": [
{ {
"fieldname": "subject", "fieldname": "subject",
"fieldtype": "Data", "fieldtype": "Data",
"in_global_search": 1, "in_global_search": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Subject", "label": "Subject",
"reqd": 1, "reqd": 1,
"search_index": 1 "search_index": 1
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "project", "fieldname": "project",
"fieldtype": "Link", "fieldtype": "Link",
"in_global_search": 1, "in_global_search": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Project", "label": "Project",
"oldfieldname": "project", "oldfieldname": "project",
"oldfieldtype": "Link", "oldfieldtype": "Link",
"options": "Project", "options": "Project",
"remember_last_selected_value": 1, "remember_last_selected_value": 1,
"search_index": 1 "search_index": 1
}, },
{ {
"fieldname": "issue", "fieldname": "issue",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Issue", "label": "Issue",
"options": "Issue" "options": "Issue"
}, },
{ {
"fieldname": "type", "fieldname": "type",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Type", "label": "Type",
"options": "Task Type" "options": "Task Type"
}, },
{ {
"bold": 1, "bold": 1,
"default": "0", "default": "0",
"fieldname": "is_group", "fieldname": "is_group",
"fieldtype": "Check", "fieldtype": "Check",
"in_list_view": 1, "in_list_view": 1,
"label": "Is Group" "label": "Is Group"
}, },
{ {
"fieldname": "column_break0", "fieldname": "column_break0",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"print_width": "50%", "print_width": "50%",
"width": "50%" "width": "50%"
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "status", "fieldname": "status",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Status", "label": "Status",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "status", "oldfieldname": "status",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"options": "Open\nWorking\nPending Review\nOverdue\nCompleted\nCancelled" "options": "Open\nWorking\nPending Review\nOverdue\nCompleted\nCancelled"
}, },
{ {
"fieldname": "priority", "fieldname": "priority",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Priority", "label": "Priority",
"oldfieldname": "priority", "oldfieldname": "priority",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"options": "Low\nMedium\nHigh\nUrgent", "options": "Low\nMedium\nHigh\nUrgent",
"search_index": 1 "search_index": 1
}, },
{ {
"fieldname": "color", "fieldname": "color",
"fieldtype": "Color", "fieldtype": "Color",
"label": "Color" "label": "Color"
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "parent_task", "fieldname": "parent_task",
"fieldtype": "Link", "fieldtype": "Link",
"ignore_user_permissions": 1, "ignore_user_permissions": 1,
"label": "Parent Task", "label": "Parent Task",
"options": "Task", "options": "Task",
"search_index": 1 "search_index": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "eval:doc.__islocal", "collapsible_depends_on": "eval:doc.__islocal",
"fieldname": "sb_timeline", "fieldname": "sb_timeline",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Timeline" "label": "Timeline"
}, },
{ {
"fieldname": "exp_start_date", "fieldname": "exp_start_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Expected Start Date", "label": "Expected Start Date",
"oldfieldname": "exp_start_date", "oldfieldname": "exp_start_date",
"oldfieldtype": "Date" "oldfieldtype": "Date"
}, },
{ {
"default": "0", "default": "0",
"fieldname": "expected_time", "fieldname": "expected_time",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Expected Time (in hours)", "label": "Expected Time (in hours)",
"oldfieldname": "exp_total_hrs", "oldfieldname": "exp_total_hrs",
"oldfieldtype": "Data" "oldfieldtype": "Data"
}, },
{ {
"fetch_from": "type.weight", "fetch_from": "type.weight",
"fieldname": "task_weight", "fieldname": "task_weight",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Weight" "label": "Weight"
}, },
{ {
"fieldname": "column_break_11", "fieldname": "column_break_11",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "exp_end_date", "fieldname": "exp_end_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Expected End Date", "label": "Expected End Date",
"oldfieldname": "exp_end_date", "oldfieldname": "exp_end_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
"search_index": 1 "search_index": 1
}, },
{ {
"fieldname": "progress", "fieldname": "progress",
"fieldtype": "Percent", "fieldtype": "Percent",
"label": "% Progress", "label": "% Progress",
"no_copy": 1 "no_copy": 1
}, },
{ {
"default": "0", "default": "0",
"fieldname": "is_milestone", "fieldname": "is_milestone",
"fieldtype": "Check", "fieldtype": "Check",
"in_list_view": 1, "in_list_view": 1,
"label": "Is Milestone" "label": "Is Milestone"
}, },
{ {
"fieldname": "sb_details", "fieldname": "sb_details",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Details", "label": "Details",
"oldfieldtype": "Section Break" "oldfieldtype": "Section Break"
}, },
{ {
"fieldname": "description", "fieldname": "description",
"fieldtype": "Text Editor", "fieldtype": "Text Editor",
"in_preview": 1, "in_preview": 1,
"label": "Task Description", "label": "Task Description",
"oldfieldname": "description", "oldfieldname": "description",
"oldfieldtype": "Text Editor", "oldfieldtype": "Text Editor",
"print_width": "300px", "print_width": "300px",
"width": "300px" "width": "300px"
}, },
{ {
"fieldname": "sb_depends_on", "fieldname": "sb_depends_on",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Dependencies", "label": "Dependencies",
"oldfieldtype": "Section Break" "oldfieldtype": "Section Break"
}, },
{ {
"fieldname": "depends_on", "fieldname": "depends_on",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Dependent Tasks", "label": "Dependent Tasks",
"options": "Task Depends On" "options": "Task Depends On"
}, },
{ {
"fieldname": "depends_on_tasks", "fieldname": "depends_on_tasks",
"fieldtype": "Code", "fieldtype": "Code",
"hidden": 1, "hidden": 1,
"label": "Depends on Tasks", "label": "Depends on Tasks",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "sb_actual", "fieldname": "sb_actual",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"print_width": "50%", "print_width": "50%",
"width": "50%" "width": "50%"
}, },
{ {
"fieldname": "act_start_date", "fieldname": "act_start_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Actual Start Date (via Time Sheet)", "label": "Actual Start Date (via Time Sheet)",
"oldfieldname": "act_start_date", "oldfieldname": "act_start_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "actual_time", "fieldname": "actual_time",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Actual Time (in hours)", "label": "Actual Time (in hours)",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "column_break_15", "fieldname": "column_break_15",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"fieldname": "act_end_date", "fieldname": "act_end_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Actual End Date (via Time Sheet)", "label": "Actual End Date (via Time Sheet)",
"oldfieldname": "act_end_date", "oldfieldname": "act_end_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "sb_costing", "fieldname": "sb_costing",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Costing" "label": "Costing"
}, },
{ {
"fieldname": "total_costing_amount", "fieldname": "total_costing_amount",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total Costing Amount (via Time Sheet)", "label": "Total Costing Amount (via Time Sheet)",
"oldfieldname": "actual_budget", "oldfieldname": "actual_budget",
"oldfieldtype": "Currency", "oldfieldtype": "Currency",
"options": "Company:company:default_currency", "options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "total_expense_claim", "fieldname": "total_expense_claim",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total Expense Claim (via Expense Claim)", "label": "Total Expense Claim (via Expense Claim)",
"options": "Company:company:default_currency", "options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "column_break_20", "fieldname": "column_break_20",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"fieldname": "total_billing_amount", "fieldname": "total_billing_amount",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total Billing Amount (via Time Sheet)", "label": "Total Billing Amount (via Time Sheet)",
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "sb_more_info", "fieldname": "sb_more_info",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "More Info" "label": "More Info"
}, },
{ {
"depends_on": "eval:doc.status == \"Closed\" || doc.status == \"Pending Review\"", "depends_on": "eval:doc.status == \"Closed\" || doc.status == \"Pending Review\"",
"fieldname": "review_date", "fieldname": "review_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Review Date", "label": "Review Date",
"oldfieldname": "review_date", "oldfieldname": "review_date",
"oldfieldtype": "Date" "oldfieldtype": "Date"
}, },
{ {
"depends_on": "eval:doc.status == \"Closed\"", "depends_on": "eval:doc.status == \"Closed\"",
"fieldname": "closing_date", "fieldname": "closing_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Closing Date", "label": "Closing Date",
"oldfieldname": "closing_date", "oldfieldname": "closing_date",
"oldfieldtype": "Date" "oldfieldtype": "Date"
}, },
{ {
"fieldname": "column_break_22", "fieldname": "column_break_22",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"fieldname": "department", "fieldname": "department",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Department", "label": "Department",
"options": "Department" "options": "Department"
}, },
{ {
"fetch_from": "project.company", "fetch_from": "project.company",
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Company", "label": "Company",
"options": "Company", "options": "Company",
"remember_last_selected_value": 1 "remember_last_selected_value": 1
}, },
{ {
"fieldname": "lft", "fieldname": "lft",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 1, "hidden": 1,
"label": "lft", "label": "lft",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "rgt", "fieldname": "rgt",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 1, "hidden": 1,
"label": "rgt", "label": "rgt",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "old_parent", "fieldname": "old_parent",
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 1, "hidden": 1,
"ignore_user_permissions": 1, "ignore_user_permissions": 1,
"label": "Old Parent", "label": "Old Parent",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "completed_by", "fieldname": "completed_by",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Completed By", "label": "Completed By",
"no_copy": 1, "no_copy": 1,
"options": "User" "options": "User"
} }
], ],
"icon": "fa fa-check", "icon": "fa fa-check",
"idx": 1, "idx": 1,
"is_tree": 1, "is_tree": 1,
"links": [], "links": [],
"max_attachments": 5, "max_attachments": 0,
"modified": "2020-07-03 12:36:04.960457", "modified": "2020-07-03 12:36:04.960457",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Projects", "module": "Projects",
"name": "Task", "name": "Task",
"nsm_parent_field": "parent_task", "nsm_parent_field": "parent_task",
"owner": "Administrator", "owner": "Administrator",
"permissions": [ "permissions": [
{ {
"create": 1, "create": 1,
"delete": 1, "delete": 1,
"email": 1, "email": 1,
"print": 1, "print": 1,
"read": 1, "read": 1,
"report": 1, "report": 1,
"role": "Projects User", "role": "Projects User",
"share": 1, "share": 1,
"write": 1 "write": 1
} }
], ],
"search_fields": "subject", "search_fields": "subject",
"show_name_in_global_search": 1, "show_name_in_global_search": 1,
"show_preview_popup": 1, "show_preview_popup": 1,
"sort_field": "modified", "sort_field": "modified",
"sort_order": "DESC", "sort_order": "DESC",
"timeline_field": "project", "timeline_field": "project",
"title_field": "subject", "title_field": "subject",
"track_seen": 1 "track_seen": 1
} }