From 3b79f19614664e921a14f52062f376ca9fd1cf9a Mon Sep 17 00:00:00 2001 From: shreyas Date: Wed, 1 Jun 2016 17:45:10 +0530 Subject: [PATCH] [Fix] Allow user to quantity in fraction while transferring material using production order --- .../manufacturing/doctype/production_order/production_order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/production_order/production_order.js b/erpnext/manufacturing/doctype/production_order/production_order.js index d2e95faf493..8e6b7e698c9 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.js +++ b/erpnext/manufacturing/doctype/production_order/production_order.js @@ -177,7 +177,7 @@ $.extend(cur_frm.cscript, { flt(this.frm.doc.material_transferred_for_manufacturing) - flt(this.frm.doc.produced_qty) : flt(this.frm.doc.qty) - flt(this.frm.doc.material_transferred_for_manufacturing); - frappe.prompt({fieldtype:"Int", label: __("Qty for {0}", [purpose]), fieldname:"qty", + frappe.prompt({fieldtype:"Float", label: __("Qty for {0}", [purpose]), fieldname:"qty", description: __("Max: {0}", [max]) }, function(data) { if(data.qty > max) {