commit | bc0a2859e44feecec1611fab0e4b6f4867ba1a4c | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Dec 09 12:40:09 2020 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Dec 09 12:40:09 2020 +0530 |
tree | 523d72ca7f14c7246f286ced67c2f787d12f0d69 | |
parent | 91e1136d2c5d368256ac0934dca3b83ef3a71ff6 [diff] [blame] |
fix: Rate for items with no batch
diff --git a/erpnext/public/js/controllers/buying.js b/erpnext/public/js/controllers/buying.js index e5be499..a537b86 100644 --- a/erpnext/public/js/controllers/buying.js +++ b/erpnext/public/js/controllers/buying.js
@@ -194,6 +194,10 @@ this._super(doc, cdt, cdn); }, + batch_no: function(doc, cdt, cdn) { + this._super(doc, cdt, cdn); + }, + received_qty: function(doc, cdt, cdn) { this.calculate_accepted_qty(doc, cdt, cdn) },