From 6a23016f90cc2f736b1ed864e36dfc2ff8e4274e Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Thu, 11 Aug 2016 17:28:21 +0530 Subject: [PATCH 1/3] Added image feild to guardian --- .../schools/doctype/guardian/guardian.json | 36 ++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/erpnext/schools/doctype/guardian/guardian.json b/erpnext/schools/doctype/guardian/guardian.json index 89e4bd0309..390a52f0e0 100644 --- a/erpnext/schools/doctype/guardian/guardian.json +++ b/erpnext/schools/doctype/guardian/guardian.json @@ -91,14 +91,14 @@ "allow_on_submit": 0, "bold": 0, "collapsible": 0, - "fieldname": "mobile_nuber", + "fieldname": "mobile_number", "fieldtype": "Data", "hidden": 0, "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, - "label": "Mobile Nuber", + "label": "Mobile Number", "length": 0, "no_copy": 0, "permlevel": 0, @@ -116,8 +116,8 @@ "allow_on_submit": 0, "bold": 0, "collapsible": 0, - "fieldname": "section_break_5", - "fieldtype": "Section Break", + "fieldname": "column_break_3", + "fieldtype": "Column Break", "hidden": 0, "ignore_user_permissions": 0, "ignore_xss_filter": 0, @@ -136,6 +136,31 @@ "set_only_once": 0, "unique": 0 }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "image", + "fieldtype": "Attach Image", + "hidden": 1, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Image", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, { "allow_on_submit": 0, "bold": 0, @@ -166,6 +191,7 @@ "hide_heading": 0, "hide_toolbar": 0, "idx": 0, + "image_field": "image", "image_view": 0, "in_create": 0, "in_dialog": 0, @@ -173,7 +199,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-07-25 07:20:11.458757", + "modified": "2016-08-11 07:57:21.708354", "modified_by": "Administrator", "module": "Schools", "name": "Guardian", From c917423b0137f45d4b7ecbd56eb2f563fa7a6ab3 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Thu, 11 Aug 2016 18:22:45 +0530 Subject: [PATCH 2/3] Fixed typo in quotation, added image feild in Program Enrollment --- .../program_enrollment.json | 30 ++++++++++++++++- .../selling/doctype/quotation/quotation.json | 32 +++---------------- 2 files changed, 34 insertions(+), 28 deletions(-) diff --git a/erpnext/schools/doctype/program_enrollment/program_enrollment.json b/erpnext/schools/doctype/program_enrollment/program_enrollment.json index 6977a24e85..c7c5eed839 100644 --- a/erpnext/schools/doctype/program_enrollment/program_enrollment.json +++ b/erpnext/schools/doctype/program_enrollment/program_enrollment.json @@ -9,6 +9,7 @@ "docstatus": 0, "doctype": "DocType", "document_type": "Document", + "editable_grid": 0, "fields": [ { "allow_on_submit": 0, @@ -239,11 +240,38 @@ "search_index": 0, "set_only_once": 0, "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "image", + "fieldtype": "Attach Image", + "hidden": 1, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Image", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 } ], "hide_heading": 0, "hide_toolbar": 0, "idx": 0, + "image_field": "image", + "image_view": 0, "in_create": 0, "in_dialog": 0, "is_submittable": 1, @@ -251,7 +279,7 @@ "istable": 0, "max_attachments": 0, "menu_index": 0, - "modified": "2016-07-18 10:30:50.243271", + "modified": "2016-08-11 08:50:24.317353", "modified_by": "Administrator", "module": "Schools", "name": "Program Enrollment", diff --git a/erpnext/selling/doctype/quotation/quotation.json b/erpnext/selling/doctype/quotation/quotation.json index c53c6b60f5..64a5245e18 100644 --- a/erpnext/selling/doctype/quotation/quotation.json +++ b/erpnext/selling/doctype/quotation/quotation.json @@ -5,10 +5,12 @@ "autoname": "naming_series:", "beta": 0, "creation": "2013-05-24 19:29:08", - "custom": 0, + "custom": 0, + "default_print_format": "test123", "docstatus": 0, "doctype": "DocType", "document_type": "Document", + "editable_grid": 1, "fields": [ { "allow_on_submit": 0, @@ -35,30 +37,6 @@ "set_only_once": 0, "unique": 0 }, - { - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "fieldname": "column_break0", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_list_view": 0, - "length": 0, - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "print_hide_if_no_value": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0, - "width": "50%" - }, { "allow_on_submit": 1, "bold": 0, @@ -207,7 +185,7 @@ "ignore_xss_filter": 0, "in_filter": 0, "in_list_view": 0, - "label": "Custome Name", + "label": "Customer Name", "length": 0, "no_copy": 0, "permlevel": 0, @@ -2133,7 +2111,7 @@ "istable": 0, "max_attachments": 1, "menu_index": 0, - "modified": "2016-07-05 16:44:01.301063", + "modified": "2016-08-11 08:52:09.666306", "modified_by": "Administrator", "module": "Selling", "name": "Quotation", From 987009bf35c15363f4c24b0c94cdac5a494edbb0 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Fri, 12 Aug 2016 16:44:00 +0530 Subject: [PATCH 3/3] Update quotation.json --- erpnext/selling/doctype/quotation/quotation.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/selling/doctype/quotation/quotation.json b/erpnext/selling/doctype/quotation/quotation.json index 64a5245e18..53bd725f60 100644 --- a/erpnext/selling/doctype/quotation/quotation.json +++ b/erpnext/selling/doctype/quotation/quotation.json @@ -6,7 +6,6 @@ "beta": 0, "creation": "2013-05-24 19:29:08", "custom": 0, - "default_print_format": "test123", "docstatus": 0, "doctype": "DocType", "document_type": "Document", @@ -2291,4 +2290,4 @@ "timeline_field": "customer", "title_field": "title", "track_seen": 0 -} \ No newline at end of file +}