From 322bd08f26e108e88135064bef251b5049840666 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 1 Mar 2013 12:52:34 +0530 Subject: [PATCH] allow attachment in batch --- stock/doctype/batch/batch.txt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/stock/doctype/batch/batch.txt b/stock/doctype/batch/batch.txt index cad4a0db2c..6a6de8b247 100644 --- a/stock/doctype/batch/batch.txt +++ b/stock/doctype/batch/batch.txt @@ -1,15 +1,17 @@ [ { - "creation": "2013-01-10 16:34:25", + "creation": "2013-03-01 08:21:54", "docstatus": 0, - "modified": "2013-01-29 13:40:32", + "modified": "2013-03-01 08:22:16", "modified_by": "Administrator", "owner": "harshada@webnotestech.com" }, { + "allow_attach": 1, "autoname": "field:batch_id", "doctype": "DocType", "document_type": "Master", + "max_attachments": 5, "module": "Stock", "name": "__common__" }, @@ -105,6 +107,15 @@ "oldfieldtype": "Small Text", "read_only": 1 }, + { + "doctype": "DocField", + "fieldname": "file_list", + "fieldtype": "Text", + "hidden": 1, + "label": "File List", + "no_copy": 1, + "print_hide": 1 + }, { "doctype": "DocPerm" }