Merge pull request #5430 from shreyasp/issue/prod-order-qty

[Fix] Allow user to quantity in fraction while transferring material using production order
This commit is contained in:
Rushabh Mehta 2016-06-07 10:58:20 +05:30
commit 6125abc495

View File

@ -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) {