From 2f0a14bda0050be3945bc3ea8d39e187627b32d0 Mon Sep 17 00:00:00 2001 From: ShashaQin Date: Thu, 25 Feb 2016 11:19:56 +0800 Subject: [PATCH] Update purchase_order.json --- .../purchase_order/purchase_order.json | 34 ++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.json b/erpnext/buying/doctype/purchase_order/purchase_order.json index fb1781a417f..9c518d16b7f 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.json +++ b/erpnext/buying/doctype/purchase_order/purchase_order.json @@ -2523,7 +2523,7 @@ "unique": 0 }, { - "allow_on_submit": 0, + "allow_on_submit": 1, "bold": 0, "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", @@ -2541,7 +2541,7 @@ "permlevel": 0, "print_hide": 1, "print_hide_if_no_value": 0, - "read_only": 1, + "read_only": 0, "report_hide": 0, "reqd": 0, "search_index": 0, @@ -2578,6 +2578,32 @@ "bold": 0, "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", + "description": "Check to send it via Email, uncheck to generate a draft document only.", + "fieldname": "notify_by_email", + "fieldtype": "Check", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Notify by Email", + "length": 0, + "no_copy": 1, + "permlevel": 0, + "precision": "", + "print_hide": 1, + "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": 1, + "bold": 0, + "collapsible": 0, + "depends_on": "eval:doc.notify_by_email==1", "description": "Enter email id separated by commas, order will be mailed automatically on particular date", "fieldname": "notification_email_address", "fieldtype": "Code", @@ -2638,7 +2664,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-02-22 09:32:53.191526", + "modified": "2016-02-25 09:51:38.479762", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order", @@ -2772,4 +2798,4 @@ "sort_order": "DESC", "timeline_field": "supplier", "title_field": "title" -} \ No newline at end of file +}