diff --git a/erpnext/manufacturing/doctype/bom_operation/bom_operation.json b/erpnext/manufacturing/doctype/bom_operation/bom_operation.json index 2dc6ce89ad..0c25e8fcc2 100644 --- a/erpnext/manufacturing/doctype/bom_operation/bom_operation.json +++ b/erpnext/manufacturing/doctype/bom_operation/bom_operation.json @@ -42,7 +42,7 @@ }, { "fieldname": "hour_rate", - "fieldtype": "Currency", + "fieldtype": "Float", "in_list_view": 0, "label": "Hour Rate", "oldfieldname": "hour_rate", @@ -77,7 +77,7 @@ ], "idx": 1, "istable": 1, - "modified": "2015-04-21 07:11:38.730014", + "modified": "2015-04-22 03:24:47.809532", "modified_by": "Administrator", "module": "Manufacturing", "name": "BOM Operation", diff --git a/erpnext/manufacturing/doctype/production_order_operation/production_order_operation.json b/erpnext/manufacturing/doctype/production_order_operation/production_order_operation.json index 2034ae5ac2..83134853e2 100644 --- a/erpnext/manufacturing/doctype/production_order_operation/production_order_operation.json +++ b/erpnext/manufacturing/doctype/production_order_operation/production_order_operation.json @@ -194,7 +194,7 @@ { "allow_on_submit": 0, "fieldname": "hour_rate", - "fieldtype": "Currency", + "fieldtype": "Float", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, @@ -293,7 +293,7 @@ "is_submittable": 0, "issingle": 0, "istable": 1, - "modified": "2015-04-21 07:10:43.341203", + "modified": "2015-04-22 03:25:18.542350", "modified_by": "Administrator", "module": "Manufacturing", "name": "Production Order Operation", diff --git a/erpnext/projects/doctype/time_log/time_log.js b/erpnext/projects/doctype/time_log/time_log.js index ba933018ef..536ddf8c9c 100644 --- a/erpnext/projects/doctype/time_log/time_log.js +++ b/erpnext/projects/doctype/time_log/time_log.js @@ -7,6 +7,9 @@ frappe.ui.form.on("Time Log", "onload", function(frm) { if (frm.doc.for_manufacturing) { frappe.ui.form.trigger("Time Log", "production_order"); } + if (frm.doc.from_time && frm.doc.to_time) { + frappe.ui.form.trigger("Time Log", "to_time"); + } }); frappe.ui.form.on("Time Log", "refresh", function(frm) {