diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js index 5851709d66..f80b4f8f4c 100644 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js @@ -64,7 +64,7 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend item.rejected_qty = flt(item.received_qty - item.qty, precision("rejected_qty", item)); } - this._super(); + this._super(doc, cdt, cdn); }, rejected_qty: function(doc, cdt, cdn) {