From 1371afce2ec37db6acb976c1de06eb91d0e6ce8a Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Mon, 13 Apr 2015 12:15:52 +0530 Subject: [PATCH] added default date to planned start date in Prod Order & made planned end date read-only --- .../doctype/production_order/production_order.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/erpnext/manufacturing/doctype/production_order/production_order.json b/erpnext/manufacturing/doctype/production_order/production_order.json index 4463cd0bc8..07cc5c64b1 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.json +++ b/erpnext/manufacturing/doctype/production_order/production_order.json @@ -167,7 +167,7 @@ "read_only": 0 }, { - "default": "", + "default": "now", "fieldname": "planned_start_date", "fieldtype": "Datetime", "label": "Planned Start Date", @@ -179,8 +179,10 @@ "fieldname": "planned_end_date", "fieldtype": "Datetime", "label": "Planned End Date", + "no_copy": 1, "permlevel": 0, - "precision": "" + "precision": "", + "read_only": 1 }, { "fieldname": "column_break_13", @@ -356,7 +358,7 @@ "idx": 1, "in_create": 0, "is_submittable": 1, - "modified": "2015-04-01 07:32:38.426624", + "modified": "2015-04-13 02:44:17.319988", "modified_by": "Administrator", "module": "Manufacturing", "name": "Production Order",