From bdaada108044c2dccf17b2f8f1b061b0d9964283 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 29 Oct 2012 14:26:05 +0530 Subject: [PATCH] allow attachments in Task --- projects/doctype/task/task.txt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/projects/doctype/task/task.txt b/projects/doctype/task/task.txt index 07a9343027..2ced8289d7 100644 --- a/projects/doctype/task/task.txt +++ b/projects/doctype/task/task.txt @@ -3,9 +3,9 @@ # These values are common in all dictionaries { - u'creation': '2012-08-08 15:39:55', + u'creation': '2012-09-18 11:05:48', u'docstatus': 0, - u'modified': '2012-09-17 10:58:32', + u'modified': '2012-10-29 14:24:55', u'modified_by': u'Administrator', u'owner': u'Administrator' }, @@ -13,12 +13,14 @@ # These values are common for all DocType { '_last_update': u'1324880734', + 'allow_attach': 1, 'allow_trash': 1, 'autoname': u'TASK.#####', 'colour': u'White:FFF', 'default_print_format': u'Standard', u'doctype': u'DocType', 'document_type': u'Master', + 'max_attachments': 5, 'module': u'Projects', u'name': u'__common__', 'section_style': u'Tray', @@ -298,6 +300,17 @@ 'oldfieldtype': u'Date' }, + # DocField + { + u'doctype': u'DocField', + 'fieldname': u'file_list', + 'fieldtype': u'Text', + 'hidden': 1, + 'label': u'File List', + 'no_copy': 1, + 'print_hide': 1 + }, + # DocPerm { 'cancel': 1,