diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json index 73c5d20451..1be2031144 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.json +++ b/erpnext/selling/doctype/sales_order/sales_order.json @@ -2826,7 +2826,7 @@ "unique": 0 }, { - "allow_on_submit": 0, + "allow_on_submit": 1, "bold": 0, "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", @@ -2844,7 +2844,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, @@ -2881,6 +2881,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", @@ -2941,7 +2967,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-02-22 09:35:08.094329", + "modified": "2016-02-24 16:10:47.732147", "modified_by": "Administrator", "module": "Selling", "name": "Sales Order", @@ -3116,4 +3142,4 @@ "sort_order": "DESC", "timeline_field": "customer", "title_field": "title" -} \ No newline at end of file +}