commit | 5eefff13a145f0d5ea5252137637cd0a3d636feb | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Mon Dec 07 10:44:56 2015 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Dec 07 10:44:56 2015 +0530 |
tree | 7d8bd15bb5442ec2eeb804e2b1d195967c37210b | |
parent | c43a11a3136dc6977076fa051c1297972981d03d [diff] |
[fix] get_incoming_rate function whitelisted
diff --git a/erpnext/stock/utils.py b/erpnext/stock/utils.py index f89561c..0d95c58 100644 --- a/erpnext/stock/utils.py +++ b/erpnext/stock/utils.py
@@ -88,6 +88,7 @@ else: frappe.msgprint(_("Item {0} ignored since it is not a stock item").format(args.get("item_code"))) +@frappe.whitelist() def get_incoming_rate(args): """Get Incoming Rate based on valuation method""" from erpnext.stock.stock_ledger import get_previous_sle