[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() {