From ae629ad29f857eddfc91c07dd4329558433d34d7 Mon Sep 17 00:00:00 2001 From: ShashaQin Date: Thu, 25 Feb 2016 11:17:13 +0800 Subject: [PATCH] Update purchase_invoice.json --- .../purchase_invoice/purchase_invoice.json | 34 ++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json index 4a22de9e3c..3bbf0822c3 100755 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json @@ -2472,7 +2472,7 @@ "width": "50%" }, { - "allow_on_submit": 0, + "allow_on_submit": 1, "bold": 0, "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", @@ -2490,7 +2490,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, @@ -2528,6 +2528,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, invoice will be mailed automatically on particular date", "fieldname": "notification_email_address", "fieldtype": "Code", @@ -2589,7 +2615,7 @@ "istable": 0, "max_attachments": 0, "menu_index": 0, - "modified": "2016-02-22 09:32:04.196291", + "modified": "2016-02-24 16:03:07.975604", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice", @@ -2743,4 +2769,4 @@ "sort_order": "DESC", "timeline_field": "supplier", "title_field": "title" -} \ No newline at end of file +}