commit | 5ada14b8871d019024f3ac059dbe73572907b51c | [log] [tgz] |
---|---|---|
author | Saurabh <saurabh6790@gmail.com> | Fri Feb 26 18:02:55 2016 +0530 |
committer | Saurabh <saurabh6790@gmail.com> | Wed Mar 09 15:42:01 2016 +0530 |
tree | 1f4203a672be2db6c2dfac7e763ebb4d275b9049 | |
parent | 2d7af6335140b6955612637e9f357a54fcbb0bed [diff] [blame] |
[fixes] calculate valuation rate for non stock item
diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js index ef9cadc..05a5387 100644 --- a/erpnext/selling/sales_common.js +++ b/erpnext/selling/sales_common.js
@@ -136,7 +136,7 @@ } else { this.price_list_rate(doc, cdt, cdn); } - this.gross_profit(item); + this.set_gross_profit(item); }, commission_rate: function() {